nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 472497 bytes 285433622 (285.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 886630 bytes 68943444 (68.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 820360 bytes 58097093 (58.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 820360 bytes 58097093 (58.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 472543 bytes 285462389 (285.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 886702 bytes 68948849 (68.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 820438 bytes 58102537 (58.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 820438 bytes 58102537 (58.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 472593 bytes 285491461 (285.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 886781 bytes 68954846 (68.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 820534 bytes 58109379 (58.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 820534 bytes 58109379 (58.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 472666 bytes 285522646 (285.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 886956 bytes 68969005 (68.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 820702 bytes 58121723 (58.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 820702 bytes 58121723 (58.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 472711 bytes 285551406 (285.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 887113 bytes 68981511 (68.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 820774 bytes 58126733 (58.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 820774 bytes 58126733 (58.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 472755 bytes 285580062 (285.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 887211 bytes 68988908 (68.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 820846 bytes 58131743 (58.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 820846 bytes 58131743 (58.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 472800 bytes 285608746 (285.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 887272 bytes 68993532 (68.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 820918 bytes 58136753 (58.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 820918 bytes 58136753 (58.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 472848 bytes 285637640 (285.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 887345 bytes 68999011 (68.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 821002 bytes 58142727 (58.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 821002 bytes 58142727 (58.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 472899 bytes 285667127 (285.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 887435 bytes 69006014 (69.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 821080 bytes 58148219 (58.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 821080 bytes 58148219 (58.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 472943 bytes 285695783 (285.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 887516 bytes 69012275 (69.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 821152 bytes 58153229 (58.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 821152 bytes 58153229 (58.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 472987 bytes 285724439 (285.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 887587 bytes 69017649 (69.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 821224 bytes 58158239 (58.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 821224 bytes 58158239 (58.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 473032 bytes 285753123 (285.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 887657 bytes 69022903 (69.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 821296 bytes 58163249 (58.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 821296 bytes 58163249 (58.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 473079 bytes 285781989 (285.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 887733 bytes 69028664 (69.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 821380 bytes 58169223 (58.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 821380 bytes 58169223 (58.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 473146 bytes 285812707 (285.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 887891 bytes 69041536 (69.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 821530 bytes 58180373 (58.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 821530 bytes 58180373 (58.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 473191 bytes 285841391 (285.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 888017 bytes 69051689 (69.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 821602 bytes 58185383 (58.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 821602 bytes 58185383 (58.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 473236 bytes 285870075 (285.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 888090 bytes 69057164 (69.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 821674 bytes 58190393 (58.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 821674 bytes 58190393 (58.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 473281 bytes 285898759 (285.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 888161 bytes 69062499 (69.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 821746 bytes 58195403 (58.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 821746 bytes 58195403 (58.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 473328 bytes 285927625 (285.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 888226 bytes 69067479 (69.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 821830 bytes 58201377 (58.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 821830 bytes 58201377 (58.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 473379 bytes 285957112 (285.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 888316 bytes 69074482 (69.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 821908 bytes 58206869 (58.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 821908 bytes 58206869 (58.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 473424 bytes 285985796 (285.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 888399 bytes 69080866 (69.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 821980 bytes 58211879 (58.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 821980 bytes 58211879 (58.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 473468 bytes 286014452 (286.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 888469 bytes 69086148 (69.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 822052 bytes 58216889 (58.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 822052 bytes 58216889 (58.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 473512 bytes 286043108 (286.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 888539 bytes 69091441 (69.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 822124 bytes 58221899 (58.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 822124 bytes 58221899 (58.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 473559 bytes 286071974 (286.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 888614 bytes 69097121 (69.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 822208 bytes 58227873 (58.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 822208 bytes 58227873 (58.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 473627 bytes 286102720 (286.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 888773 bytes 69110073 (69.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 822358 bytes 58239023 (58.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 822358 bytes 58239023 (58.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 473672 bytes 286131404 (286.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 888887 bytes 69119337 (69.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 822430 bytes 58244033 (58.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 822430 bytes 58244033 (58.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 473717 bytes 286160088 (286.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 888959 bytes 69124742 (69.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 822502 bytes 58249043 (58.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 822502 bytes 58249043 (58.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 473761 bytes 286188744 (286.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 889029 bytes 69130024 (69.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 822574 bytes 58254053 (58.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 822574 bytes 58254053 (58.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 473808 bytes 286217610 (286.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 889104 bytes 69135715 (69.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 822658 bytes 58260027 (58.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 822658 bytes 58260027 (58.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 473859 bytes 286247152 (286.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 889193 bytes 69142684 (69.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 822742 bytes 58265953 (58.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 822742 bytes 58265953 (58.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 473901 bytes 286275697 (286.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 889272 bytes 69148814 (69.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 822808 bytes 58270529 (58.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 822808 bytes 58270529 (58.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 473945 bytes 286304353 (286.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 889342 bytes 69154107 (69.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 822880 bytes 58275539 (58.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 822880 bytes 58275539 (58.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 473989 bytes 286333009 (286.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 889403 bytes 69158770 (69.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 822952 bytes 58280549 (58.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 822952 bytes 58280549 (58.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 474036 bytes 286361875 (286.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 889479 bytes 69164520 (69.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 823036 bytes 58286523 (58.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 823036 bytes 58286523 (58.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 474102 bytes 286392565 (286.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 889634 bytes 69177218 (69.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 823186 bytes 58297673 (58.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 823186 bytes 58297673 (58.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 474145 bytes 286421193 (286.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 889758 bytes 69187268 (69.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 823258 bytes 58302683 (58.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 823258 bytes 58302683 (58.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 474190 bytes 286449877 (286.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 889829 bytes 69192592 (69.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 823330 bytes 58307693 (58.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 823330 bytes 58307693 (58.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 474235 bytes 286478561 (286.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 889897 bytes 69197673 (69.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 823402 bytes 58312703 (58.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 823402 bytes 58312703 (58.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 474282 bytes 286507427 (286.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 889972 bytes 69203364 (69.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 823486 bytes 58318677 (58.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 823486 bytes 58318677 (58.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 474339 bytes 286537457 (286.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 890082 bytes 69211897 (69.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 823582 bytes 58325363 (58.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 823582 bytes 58325363 (58.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 474385 bytes 286566169 (286.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 890200 bytes 69220868 (69.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 823654 bytes 58330373 (58.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 823654 bytes 58330373 (58.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 474430 bytes 286594853 (286.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 890295 bytes 69228012 (69.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 823730 bytes 58335651 (58.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 823730 bytes 58335651 (58.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 474474 bytes 286623509 (286.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 890363 bytes 69233143 (69.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 823798 bytes 58340393 (58.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 823798 bytes 58340393 (58.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 474521 bytes 286652375 (286.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 890429 bytes 69238204 (69.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 823882 bytes 58346367 (58.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 823882 bytes 58346367 (58.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 474589 bytes 286683121 (286.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 890590 bytes 69251302 (69.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 824032 bytes 58357517 (58.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 824032 bytes 58357517 (58.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 474633 bytes 286711777 (286.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 890713 bytes 69261229 (69.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 824104 bytes 58362527 (58.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 824104 bytes 58362527 (58.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 474676 bytes 286740405 (286.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 890783 bytes 69266550 (69.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 824176 bytes 58367537 (58.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 824176 bytes 58367537 (58.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 474720 bytes 286769061 (286.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 890854 bytes 69271913 (69.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 824248 bytes 58372547 (58.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 824248 bytes 58372547 (58.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 474767 bytes 286797927 (286.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 890928 bytes 69277523 (69.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 824332 bytes 58378521 (58.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 824332 bytes 58378521 (58.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 474819 bytes 286827442 (286.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 891017 bytes 69284406 (69.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 824410 bytes 58384013 (58.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 824410 bytes 58384013 (58.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 474863 bytes 286856098 (286.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 891099 bytes 69290748 (69.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 824482 bytes 58389023 (58.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 824482 bytes 58389023 (58.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 474909 bytes 286884810 (286.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 891171 bytes 69296125 (69.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 824554 bytes 58394033 (58.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 824554 bytes 58394033 (58.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 474953 bytes 286913466 (286.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 891231 bytes 69300707 (69.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 824626 bytes 58399043 (58.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 824626 bytes 58399043 (58.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 474999 bytes 286942304 (286.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 891306 bytes 69306426 (69.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 824710 bytes 58405017 (58.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 824710 bytes 58405017 (58.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 475065 bytes 286972994 (286.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 891462 bytes 69319186 (69.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 824860 bytes 58416167 (58.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 824860 bytes 58416167 (58.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 475110 bytes 287001678 (287.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 891588 bytes 69329328 (69.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 824932 bytes 58421177 (58.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 824932 bytes 58421177 (58.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 475153 bytes 287030306 (287.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 891658 bytes 69334649 (69.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 825004 bytes 58426187 (58.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 825004 bytes 58426187 (58.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 475197 bytes 287058962 (287.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 891727 bytes 69339861 (69.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 825076 bytes 58431197 (58.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 825076 bytes 58431197 (58.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 475245 bytes 287087856 (287.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 891804 bytes 69345664 (69.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 825160 bytes 58437171 (58.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 825160 bytes 58437171 (58.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 475296 bytes 287117343 (287.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 891892 bytes 69352505 (69.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 825238 bytes 58442663 (58.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 825238 bytes 58442663 (58.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 475341 bytes 287146027 (287.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 891970 bytes 69358495 (69.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 825310 bytes 58447673 (58.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 825310 bytes 58447673 (58.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 475378 bytes 287174133 (287.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 892021 bytes 69362323 (69.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 825346 bytes 58450079 (58.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 825346 bytes 58450079 (58.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 475423 bytes 287202872 (287.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 892093 bytes 69367767 (69.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 825424 bytes 58455523 (58.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 825424 bytes 58455523 (58.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 475473 bytes 287231944 (287.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 892171 bytes 69373683 (69.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 825520 bytes 58462365 (58.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 825520 bytes 58462365 (58.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 475539 bytes 287262634 (287.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 892330 bytes 69386686 (69.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 825670 bytes 58473515 (58.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 825670 bytes 58473515 (58.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 475583 bytes 287291290 (287.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 892454 bytes 69396716 (69.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 825742 bytes 58478525 (58.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 825742 bytes 58478525 (58.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 475628 bytes 287319974 (287.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 892527 bytes 69402191 (69.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 825814 bytes 58483535 (58.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 825814 bytes 58483535 (58.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 475672 bytes 287348630 (287.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 892596 bytes 69407403 (69.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 825886 bytes 58488545 (58.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 825886 bytes 58488545 (58.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 475719 bytes 287377496 (287.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 892670 bytes 69413013 (69.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 825970 bytes 58494519 (58.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 825970 bytes 58494519 (58.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 475768 bytes 287406927 (287.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 892757 bytes 69419851 (69.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 826048 bytes 58500011 (58.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 826048 bytes 58500011 (58.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 475813 bytes 287435611 (287.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 892829 bytes 69425454 (69.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 826120 bytes 58505021 (58.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 826120 bytes 58505021 (58.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 475857 bytes 287464267 (287.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 892900 bytes 69430817 (69.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 826192 bytes 58510031 (58.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 826192 bytes 58510031 (58.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 475901 bytes 287492923 (287.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 892970 bytes 69436099 (69.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 826264 bytes 58515041 (58.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 826264 bytes 58515041 (58.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 475947 bytes 287521761 (287.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 893044 bytes 69441748 (69.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 826348 bytes 58521015 (58.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 826348 bytes 58521015 (58.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 476020 bytes 287553022 (287.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 893226 bytes 69456477 (69.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 826516 bytes 58533359 (58.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 826516 bytes 58533359 (58.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 476064 bytes 287581678 (287.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 893386 bytes 69469197 (69.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 826588 bytes 58538369 (58.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 826588 bytes 58538369 (58.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 476108 bytes 287610334 (287.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 893474 bytes 69475838 (69.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 826660 bytes 58543379 (58.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 826660 bytes 58543379 (58.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 476152 bytes 287638990 (287.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 893535 bytes 69480501 (69.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 826732 bytes 58548389 (58.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 826732 bytes 58548389 (58.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 476198 bytes 287667828 (287.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 893609 bytes 69486139 (69.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 826816 bytes 58554363 (58.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 826816 bytes 58554363 (58.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 476248 bytes 287697287 (287.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 893693 bytes 69492695 (69.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 826894 bytes 58559855 (58.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 826894 bytes 58559855 (58.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 476293 bytes 287725971 (287.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 893775 bytes 69499009 (69.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 826966 bytes 58564865 (58.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 826966 bytes 58564865 (58.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 476336 bytes 287754599 (287.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 893845 bytes 69504330 (69.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 827038 bytes 58569875 (58.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 827038 bytes 58569875 (58.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 476380 bytes 287783255 (287.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 893916 bytes 69509693 (69.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 827110 bytes 58574885 (58.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 827110 bytes 58574885 (58.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 476427 bytes 287812121 (287.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 893991 bytes 69515384 (69.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 827194 bytes 58580859 (58.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 827194 bytes 58580859 (58.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 476495 bytes 287842867 (287.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 894149 bytes 69528228 (69.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 827344 bytes 58592009 (58.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 827344 bytes 58592009 (58.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 476539 bytes 287871523 (287.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 894274 bytes 69538328 (69.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 827416 bytes 58597019 (58.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 827416 bytes 58597019 (58.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 476585 bytes 287900235 (287.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 894338 bytes 69543156 (69.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 827488 bytes 58602029 (58.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 827488 bytes 58602029 (58.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 476630 bytes 287928919 (287.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 894410 bytes 69548561 (69.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 827560 bytes 58607039 (58.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 827560 bytes 58607039 (58.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 476676 bytes 287957757 (287.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 894485 bytes 69554280 (69.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 827644 bytes 58613013 (58.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 827644 bytes 58613013 (58.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 476725 bytes 287987188 (287.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 894571 bytes 69561037 (69.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 827722 bytes 58618505 (58.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 827722 bytes 58618505 (58.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 476771 bytes 288015900 (288.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 894654 bytes 69567393 (69.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 827794 bytes 58623515 (58.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 827794 bytes 58623515 (58.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 476815 bytes 288044556 (288.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 894724 bytes 69572675 (69.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 827866 bytes 58628525 (58.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 827866 bytes 58628525 (58.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 476859 bytes 288073212 (288.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 894793 bytes 69577887 (69.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 827938 bytes 58633535 (58.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 827938 bytes 58633535 (58.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 476906 bytes 288102078 (288.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 894858 bytes 69582867 (69.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 828022 bytes 58639509 (58.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 828022 bytes 58639509 (58.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 476973 bytes 288132796 (288.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 895019 bytes 69595993 (69.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 828172 bytes 58650659 (58.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 828172 bytes 58650659 (58.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 477018 bytes 288161480 (288.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 895142 bytes 69605892 (69.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 828244 bytes 58655669 (58.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 828244 bytes 58655669 (58.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 477063 bytes 288190164 (288.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 895214 bytes 69611297 (69.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 828316 bytes 58660679 (58.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 828316 bytes 58660679 (58.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 477109 bytes 288218876 (288.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 895287 bytes 69616744 (69.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 828388 bytes 58665689 (58.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 828388 bytes 58665689 (58.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 477156 bytes 288247742 (288.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 895361 bytes 69622354 (69.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 828472 bytes 58671663 (58.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 828472 bytes 58671663 (58.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 477206 bytes 288277201 (288.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 895449 bytes 69629234 (69.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 828550 bytes 58677155 (58.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 828550 bytes 58677155 (58.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 477253 bytes 288305941 (288.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 895534 bytes 69635691 (69.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 828622 bytes 58682165 (58.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 828622 bytes 58682165 (58.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 477298 bytes 288334625 (288.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 895606 bytes 69641096 (69.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 828694 bytes 58687175 (58.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 828694 bytes 58687175 (58.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 477342 bytes 288363281 (288.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 895677 bytes 69646459 (69.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 828766 bytes 58692185 (58.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 828766 bytes 58692185 (58.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 477389 bytes 288392147 (288.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 895752 bytes 69652150 (69.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 828850 bytes 58698159 (58.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 828850 bytes 58698159 (58.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 477456 bytes 288422865 (288.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 895912 bytes 69665187 (69.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 829000 bytes 58709309 (58.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 829000 bytes 58709309 (58.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 477502 bytes 288451577 (288.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 896036 bytes 69675125 (69.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 829072 bytes 58714319 (58.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 829072 bytes 58714319 (58.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 477547 bytes 288480261 (288.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 896104 bytes 69680206 (69.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 829144 bytes 58719329 (58.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 829144 bytes 58719329 (58.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 477591 bytes 288508917 (288.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 896174 bytes 69685499 (69.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 829216 bytes 58724339 (58.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 829216 bytes 58724339 (58.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 477637 bytes 288537755 (288.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 896248 bytes 69691148 (69.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 829300 bytes 58730313 (58.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 829300 bytes 58730313 (58.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 477693 bytes 288567757 (288.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 896364 bytes 69700163 (69.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 829396 bytes 58736999 (58.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 829396 bytes 58736999 (58.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 477738 bytes 288596441 (288.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 896472 bytes 69708473 (69.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 829468 bytes 58742009 (58.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 829468 bytes 58742009 (58.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 477782 bytes 288625097 (288.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 896558 bytes 69714970 (69.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 829540 bytes 58747019 (58.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 829540 bytes 58747019 (58.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 477826 bytes 288653753 (288.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 896628 bytes 69720252 (69.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 829612 bytes 58752029 (58.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 829612 bytes 58752029 (58.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 477872 bytes 288682591 (288.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 896702 bytes 69725901 (69.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 829696 bytes 58758003 (58.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 829696 bytes 58758003 (58.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 477939 bytes 288713309 (288.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 896859 bytes 69738711 (69.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 829846 bytes 58769153 (58.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 829846 bytes 58769153 (58.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 477983 bytes 288741965 (288.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 896982 bytes 69748652 (69.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 829918 bytes 58774163 (58.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 829918 bytes 58774163 (58.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 478027 bytes 288770621 (288.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 897052 bytes 69753934 (69.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 829990 bytes 58779173 (58.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 829990 bytes 58779173 (58.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 478071 bytes 288799277 (288.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 897113 bytes 69758597 (69.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 830062 bytes 58784183 (58.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 830062 bytes 58784183 (58.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 478118 bytes 288828143 (288.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 897189 bytes 69764358 (69.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 830146 bytes 58790157 (58.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 830146 bytes 58790157 (58.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 478169 bytes 288857630 (288.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 897279 bytes 69771361 (69.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 830228 bytes 58795917 (58.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 830228 bytes 58795917 (58.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 478214 bytes 288886314 (288.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 897360 bytes 69777583 (69.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 830296 bytes 58800659 (58.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 830296 bytes 58800659 (58.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 478254 bytes 288914681 (288.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 897427 bytes 69782629 (69.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 830350 bytes 58804367 (58.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 830350 bytes 58804367 (58.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 478299 bytes 288943420 (288.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 897498 bytes 69788003 (69.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 830428 bytes 58809811 (58.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 830428 bytes 58809811 (58.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 478351 bytes 288972603 (288.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 897579 bytes 69794123 (69.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 830530 bytes 58817087 (58.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 830530 bytes 58817087 (58.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 478417 bytes 289003238 (289.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 897738 bytes 69807089 (69.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 830674 bytes 58827803 (58.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 830674 bytes 58827803 (58.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 478461 bytes 289031894 (289.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 897862 bytes 69817106 (69.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 830746 bytes 58832813 (58.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 830746 bytes 58832813 (58.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 478505 bytes 289060550 (289.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 897933 bytes 69822469 (69.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 830818 bytes 58837823 (58.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 830818 bytes 58837823 (58.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 478549 bytes 289089206 (289.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 898005 bytes 69827913 (69.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 830894 bytes 58843101 (58.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 830894 bytes 58843101 (58.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 478595 bytes 289118044 (289.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 898077 bytes 69833400 (69.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 830974 bytes 58848807 (58.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 830974 bytes 58848807 (58.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 478645 bytes 289147503 (289.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 898165 bytes 69840280 (69.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 831052 bytes 58854299 (58.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 831052 bytes 58854299 (58.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 478690 bytes 289176187 (289.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 898237 bytes 69845883 (69.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 831124 bytes 58859309 (58.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 831124 bytes 58859309 (58.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 478734 bytes 289204843 (289.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 898309 bytes 69851316 (69.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 831196 bytes 58864319 (58.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 831196 bytes 58864319 (58.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 478779 bytes 289233527 (289.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 898379 bytes 69856570 (69.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 831268 bytes 58869329 (58.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 831268 bytes 58869329 (58.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 478825 bytes 289262365 (289.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 898454 bytes 69862289 (69.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 831352 bytes 58875303 (58.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 831352 bytes 58875303 (58.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 478892 bytes 289293083 (289.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 898611 bytes 69875099 (69.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 831502 bytes 58886453 (58.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 831502 bytes 58886453 (58.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 478937 bytes 289321767 (289.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 898733 bytes 69884909 (69.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 831574 bytes 58891463 (58.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 831574 bytes 58891463 (58.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 478982 bytes 289350451 (289.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 898805 bytes 69890314 (69.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 831646 bytes 58896473 (58.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 831646 bytes 58896473 (58.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 479026 bytes 289379107 (289.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 898875 bytes 69895607 (69.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 831719 bytes 58901550 (58.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 831719 bytes 58901550 (58.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 479071 bytes 289407917 (289.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 898948 bytes 69901203 (69.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 831802 bytes 58907457 (58.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 831802 bytes 58907457 (58.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 479122 bytes 289437404 (289.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 899036 bytes 69908055 (69.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 831880 bytes 58912949 (58.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 831880 bytes 58912949 (58.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 479166 bytes 289466060 (289.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 899118 bytes 69914397 (69.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 831952 bytes 58917959 (58.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 831952 bytes 58917959 (58.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 479211 bytes 289494799 (289.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 899179 bytes 69919060 (69.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 832030 bytes 58923403 (58.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 832030 bytes 58923403 (58.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 479254 bytes 289523372 (289.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 899248 bytes 69924261 (69.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 832096 bytes 58927979 (58.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 832096 bytes 58927979 (58.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 479301 bytes 289552238 (289.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 899323 bytes 69929941 (69.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 832180 bytes 58933953 (58.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 832180 bytes 58933953 (58.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 479374 bytes 289583499 (289.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 899517 bytes 69945598 (69.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 832348 bytes 58946297 (58.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 832348 bytes 58946297 (58.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 479418 bytes 289612155 (289.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 899671 bytes 69957840 (69.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 832420 bytes 58951307 (58.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 832420 bytes 58951307 (58.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 479462 bytes 289640811 (289.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 899754 bytes 69964112 (69.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 832492 bytes 58956317 (58.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 832492 bytes 58956317 (58.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 479506 bytes 289669467 (289.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 899824 bytes 69969394 (69.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 832564 bytes 58961327 (58.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 832564 bytes 58961327 (58.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 479553 bytes 289698333 (289.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 899899 bytes 69975085 (69.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 832648 bytes 58967301 (58.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 832648 bytes 58967301 (58.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 479603 bytes 289727792 (289.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 899987 bytes 69981965 (69.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 832726 bytes 58972793 (58.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 832726 bytes 58972793 (58.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 479647 bytes 289756448 (289.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 900069 bytes 69988296 (69.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 832798 bytes 58977803 (58.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 832798 bytes 58977803 (58.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 479692 bytes 289785132 (289.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 900140 bytes 69993631 (69.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 832870 bytes 58982813 (58.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 832870 bytes 58982813 (58.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 479735 bytes 289813760 (289.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 900210 bytes 69998952 (69.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 832942 bytes 58987823 (58.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 832942 bytes 58987823 (58.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 479782 bytes 289842626 (289.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 900285 bytes 70004632 (70.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 833026 bytes 58993797 (58.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 833026 bytes 58993797 (58.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 479849 bytes 289873344 (289.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 900443 bytes 70017503 (70.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 833176 bytes 59004947 (59.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 833176 bytes 59004947 (59.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 479896 bytes 289902084 (289.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 900571 bytes 70027741 (70.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 833248 bytes 59009957 (59.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 833248 bytes 59009957 (59.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 479941 bytes 289930768 (289.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 900633 bytes 70032446 (70.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 833320 bytes 59014967 (59.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 833320 bytes 59014967 (59.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 479986 bytes 289959452 (289.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 900705 bytes 70037851 (70.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 833392 bytes 59019977 (59.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 833392 bytes 59019977 (59.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 480031 bytes 289988262 (289.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 900774 bytes 70043123 (70.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 833476 bytes 59025951 (59.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 833476 bytes 59025951 (59.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 480083 bytes 290017777 (290.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 900865 bytes 70050168 (70.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 833554 bytes 59031443 (59.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 833554 bytes 59031443 (59.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 480129 bytes 290046489 (290.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 900947 bytes 70056443 (70.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 833626 bytes 59036453 (59.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 833626 bytes 59036453 (59.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 480174 bytes 290075173 (290.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 901021 bytes 70061999 (70.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 833698 bytes 59041463 (59.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 833698 bytes 59041463 (59.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 480218 bytes 290103829 (290.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 901090 bytes 70067211 (70.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 833770 bytes 59046473 (59.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 833770 bytes 59046473 (59.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 480264 bytes 290132667 (290.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 901166 bytes 70073011 (70.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 833854 bytes 59052447 (59.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 833854 bytes 59052447 (59.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 480330 bytes 290163357 (290.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 901322 bytes 70085793 (70.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 834004 bytes 59063597 (59.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 834004 bytes 59063597 (59.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 480374 bytes 290192013 (290.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 901435 bytes 70095020 (70.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 834076 bytes 59068607 (59.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 834076 bytes 59068607 (59.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 480418 bytes 290220669 (290.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 901506 bytes 70100383 (70.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 834148 bytes 59073617 (59.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 834148 bytes 59073617 (59.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 480462 bytes 290249325 (290.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 901577 bytes 70105746 (70.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 834220 bytes 59078627 (59.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 834220 bytes 59078627 (59.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 480509 bytes 290278191 (290.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 901652 bytes 70111426 (70.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 834304 bytes 59084601 (59.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 834304 bytes 59084601 (59.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 480559 bytes 290307650 (290.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 901740 bytes 70118317 (70.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 834382 bytes 59090093 (59.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 834382 bytes 59090093 (59.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 480605 bytes 290336417 (290.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 901823 bytes 70124701 (70.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 834460 bytes 59095537 (59.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 834460 bytes 59095537 (59.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 480648 bytes 290364990 (290.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 901891 bytes 70129832 (70.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 834526 bytes 59100113 (59.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 834526 bytes 59100113 (59.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 480692 bytes 290393646 (290.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 901951 bytes 70134414 (70.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 834598 bytes 59105123 (59.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 834598 bytes 59105123 (59.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 480738 bytes 290422484 (290.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 902026 bytes 70140133 (70.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 834682 bytes 59111097 (59.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 834682 bytes 59111097 (59.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 480805 bytes 290453202 (290.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 902184 bytes 70153024 (70.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 834832 bytes 59122247 (59.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 834832 bytes 59122247 (59.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 480849 bytes 290481858 (290.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 902308 bytes 70163035 (70.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 834904 bytes 59127257 (59.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 834904 bytes 59127257 (59.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 480893 bytes 290510514 (290.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 902379 bytes 70168398 (70.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 834976 bytes 59132267 (59.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 834976 bytes 59132267 (59.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 480938 bytes 290539198 (290.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 902450 bytes 70173722 (70.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 835048 bytes 59137277 (59.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 835048 bytes 59137277 (59.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 480986 bytes 290568140 (290.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 902526 bytes 70179480 (70.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 835138 bytes 59143643 (59.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 835138 bytes 59143643 (59.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 481042 bytes 290598094 (290.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 902648 bytes 70188920 (70.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 835228 bytes 59149937 (59.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 835228 bytes 59149937 (59.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 481086 bytes 290626750 (290.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 902762 bytes 70197656 (70.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 835300 bytes 59154947 (59.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 835300 bytes 59154947 (59.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 481131 bytes 290655434 (290.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 902829 bytes 70202721 (70.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 835372 bytes 59159957 (59.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 835372 bytes 59159957 (59.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 481177 bytes 290684201 (290.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 902903 bytes 70208288 (70.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 835450 bytes 59165401 (59.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 835450 bytes 59165401 (59.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 481225 bytes 290713217 (290.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 902979 bytes 70214120 (70.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 835546 bytes 59172243 (59.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 835546 bytes 59172243 (59.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 481293 bytes 290743963 (290.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 903138 bytes 70226998 (70.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 835696 bytes 59183393 (59.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 835696 bytes 59183393 (59.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 481336 bytes 290772567 (290.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 903263 bytes 70237145 (70.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 835768 bytes 59188403 (59.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 835768 bytes 59188403 (59.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 481381 bytes 290801251 (290.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 903335 bytes 70242550 (70.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 835840 bytes 59193413 (59.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 835840 bytes 59193413 (59.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 481426 bytes 290829935 (290.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 903406 bytes 70247874 (70.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 835912 bytes 59198423 (59.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 835912 bytes 59198423 (59.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 481474 bytes 290858829 (290.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 903482 bytes 70253607 (70.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 835996 bytes 59204397 (59.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 835996 bytes 59204397 (59.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 481525 bytes 290888316 (290.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 903571 bytes 70260518 (70.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 836074 bytes 59209889 (59.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 836074 bytes 59209889 (59.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 481570 bytes 290917000 (290.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 903652 bytes 70266751 (70.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 836146 bytes 59214899 (59.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 836146 bytes 59214899 (59.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 481615 bytes 290945684 (290.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 903723 bytes 70272075 (70.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 836218 bytes 59219909 (59.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 836218 bytes 59219909 (59.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 481660 bytes 290974368 (290.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 903795 bytes 70277480 (70.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 836290 bytes 59224919 (59.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 836290 bytes 59224919 (59.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 481708 bytes 291003262 (291.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 903871 bytes 70283213 (70.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 836374 bytes 59230893 (59.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 836374 bytes 59230893 (59.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 481776 bytes 291034008 (291.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 904033 bytes 70296389 (70.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 836524 bytes 59242043 (59.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 836524 bytes 59242043 (59.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 481822 bytes 291062720 (291.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 904156 bytes 70306241 (70.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 836596 bytes 59247053 (59.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 836596 bytes 59247053 (59.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 481867 bytes 291091404 (291.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 904229 bytes 70311716 (70.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 836668 bytes 59252063 (59.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 836668 bytes 59252063 (59.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 481912 bytes 291120088 (291.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 904300 bytes 70317051 (70.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 836740 bytes 59257073 (59.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 836740 bytes 59257073 (59.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 481959 bytes 291148954 (291.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 904365 bytes 70322031 (70.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 836824 bytes 59263047 (59.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 836824 bytes 59263047 (59.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 482008 bytes 291178385 (291.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 904453 bytes 70328950 (70.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 836902 bytes 59268539 (59.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 836902 bytes 59268539 (59.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 482053 bytes 291207069 (291.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 904535 bytes 70335253 (70.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 836974 bytes 59273549 (59.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 836974 bytes 59273549 (59.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 482097 bytes 291235725 (291.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 904605 bytes 70340535 (70.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 837046 bytes 59278559 (59.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 837046 bytes 59278559 (59.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 482141 bytes 291264381 (291.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 904675 bytes 70345828 (70.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 837118 bytes 59283569 (59.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 837118 bytes 59283569 (59.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 482187 bytes 291293219 (291.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 904749 bytes 70351466 (70.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 837202 bytes 59289543 (59.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 837202 bytes 59289543 (59.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 482253 bytes 291323909 (291.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 904906 bytes 70364318 (70.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 837352 bytes 59300693 (59.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 837352 bytes 59300693 (59.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 482297 bytes 291352565 (291.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 905021 bytes 70373718 (70.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 837424 bytes 59305703 (59.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 837424 bytes 59305703 (59.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 482341 bytes 291381221 (291.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 905092 bytes 70379081 (70.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 837496 bytes 59310713 (59.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 837496 bytes 59310713 (59.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 482385 bytes 291409877 (291.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 905162 bytes 70384363 (70.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 837568 bytes 59315723 (59.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 837568 bytes 59315723 (59.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 482431 bytes 291438715 (291.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 905233 bytes 70389758 (70.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 837652 bytes 59321697 (59.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 837652 bytes 59321697 (59.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 482482 bytes 291468202 (291.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 905322 bytes 70396691 (70.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 837730 bytes 59327189 (59.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 837730 bytes 59327189 (59.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 482526 bytes 291496858 (291.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 905403 bytes 70402952 (70.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 837802 bytes 59332199 (59.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 837802 bytes 59332199 (59.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 482570 bytes 291525514 (291.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 905475 bytes 70408396 (70.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 837874 bytes 59337209 (59.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 837874 bytes 59337209 (59.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 482614 bytes 291554170 (291.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 905544 bytes 70413608 (70.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 837946 bytes 59342219 (59.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 837946 bytes 59342219 (59.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 482662 bytes 291583188 (291.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 905622 bytes 70419558 (70.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 838036 bytes 59348585 (59.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 838036 bytes 59348585 (59.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 482732 bytes 291614241 (291.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 905814 bytes 70435046 (70.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 838198 bytes 59360537 (59.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 838198 bytes 59360537 (59.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 482776 bytes 291642897 (291.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 905973 bytes 70447700 (70.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 838270 bytes 59365547 (59.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 838270 bytes 59365547 (59.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 482820 bytes 291671553 (291.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 906038 bytes 70452664 (70.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 838342 bytes 59370557 (59.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 838342 bytes 59370557 (59.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 482864 bytes 291700209 (291.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 906109 bytes 70458027 (70.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 838414 bytes 59375567 (59.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 838414 bytes 59375567 (59.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 482910 bytes 291729047 (291.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 906184 bytes 70463746 (70.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 838498 bytes 59381541 (59.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 838498 bytes 59381541 (59.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 482962 bytes 291758562 (291.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 906275 bytes 70470791 (70.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 838576 bytes 59387033 (59.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 838576 bytes 59387033 (59.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 483006 bytes 291787218 (291.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 906356 bytes 70477052 (70.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 838648 bytes 59392043 (59.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 838648 bytes 59392043 (59.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 483050 bytes 291815874 (291.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 906426 bytes 70482334 (70.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 838720 bytes 59397053 (59.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 838720 bytes 59397053 (59.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 483094 bytes 291844530 (291.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 906496 bytes 70487627 (70.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 838792 bytes 59402063 (59.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 838792 bytes 59402063 (59.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 483140 bytes 291873368 (291.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 906569 bytes 70493195 (70.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 838876 bytes 59408037 (59.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 838876 bytes 59408037 (59.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 483206 bytes 291904058 (291.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 906729 bytes 70506309 (70.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 839026 bytes 59419187 (59.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 839026 bytes 59419187 (59.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 483250 bytes 291932714 (291.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 906840 bytes 70515355 (70.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 839098 bytes 59424197 (59.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 839098 bytes 59424197 (59.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 483294 bytes 291961370 (291.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 906911 bytes 70520718 (70.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 839170 bytes 59429207 (59.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 839170 bytes 59429207 (59.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 483338 bytes 291990026 (291.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 906981 bytes 70526000 (70.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 839242 bytes 59434217 (59.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 839242 bytes 59434217 (59.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 483385 bytes 292018892 (292.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 907056 bytes 70531680 (70.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 839326 bytes 59440191 (59.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 839326 bytes 59440191 (59.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 483435 bytes 292048351 (292.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 907143 bytes 70538490 (70.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 839404 bytes 59445683 (59.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 839404 bytes 59445683 (59.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 483479 bytes 292077007 (292.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 907223 bytes 70544681 (70.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 839476 bytes 59450693 (59.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 839476 bytes 59450693 (59.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 483524 bytes 292105691 (292.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 907291 bytes 70549762 (70.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 839548 bytes 59455703 (59.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 839548 bytes 59455703 (59.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 483569 bytes 292134375 (292.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 907363 bytes 70555167 (70.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 839620 bytes 59460713 (59.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 839620 bytes 59460713 (59.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 483616 bytes 292163241 (292.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 907439 bytes 70560928 (70.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 839704 bytes 59466687 (59.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 839704 bytes 59466687 (59.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 483684 bytes 292193987 (292.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 907598 bytes 70573868 (70.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 839854 bytes 59477837 (59.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 839854 bytes 59477837 (59.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 483728 bytes 292222643 (292.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 907722 bytes 70583872 (70.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 839926 bytes 59482847 (59.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 839926 bytes 59482847 (59.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 483772 bytes 292251299 (292.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 907783 bytes 70588535 (70.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 839998 bytes 59487857 (59.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 839998 bytes 59487857 (59.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 483816 bytes 292279955 (292.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 907854 bytes 70593898 (70.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 840070 bytes 59492867 (59.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 840070 bytes 59492867 (59.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 483862 bytes 292308793 (292.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 907928 bytes 70599536 (70.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 840154 bytes 59498841 (59.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 840154 bytes 59498841 (59.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 483913 bytes 292338280 (292.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 908017 bytes 70606458 (70.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 840232 bytes 59504333 (59.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 840232 bytes 59504333 (59.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 483957 bytes 292366936 (292.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 908097 bytes 70612649 (70.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 840304 bytes 59509343 (59.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 840304 bytes 59509343 (59.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 483994 bytes 292395097 (292.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 908159 bytes 70617308 (70.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 840346 bytes 59512183 (59.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 840346 bytes 59512183 (59.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 484038 bytes 292423753 (292.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 908230 bytes 70622671 (70.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 840418 bytes 59517193 (59.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 840418 bytes 59517193 (59.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 484088 bytes 292452825 (292.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 908309 bytes 70628657 (70.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 840514 bytes 59524035 (59.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 840514 bytes 59524035 (59.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 484154 bytes 292483515 (292.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 908467 bytes 70641587 (70.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 840664 bytes 59535185 (59.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 840664 bytes 59535185 (59.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 484197 bytes 292512143 (292.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 908590 bytes 70651556 (70.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 840736 bytes 59540195 (59.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 840736 bytes 59540195 (59.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 484241 bytes 292540799 (292.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 908661 bytes 70656891 (70.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 840808 bytes 59545205 (59.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 840808 bytes 59545205 (59.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 484285 bytes 292569455 (292.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 908731 bytes 70662212 (70.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 840880 bytes 59550215 (59.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 840880 bytes 59550215 (59.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 484335 bytes 292598529 (292.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 908813 bytes 70668401 (70.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 840970 bytes 59556581 (59.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 840970 bytes 59556581 (59.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 484388 bytes 292628323 (292.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 908928 bytes 70677413 (70.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 841060 bytes 59562875 (59.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 841060 bytes 59562875 (59.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 484433 bytes 292657007 (292.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 909042 bytes 70686120 (70.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 841132 bytes 59567885 (59.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 841132 bytes 59567885 (59.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 484477 bytes 292685663 (292.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 909115 bytes 70691633 (70.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 841204 bytes 59572895 (59.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 841204 bytes 59572895 (59.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 484521 bytes 292714319 (292.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 909186 bytes 70696996 (70.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 841276 bytes 59577905 (59.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 841276 bytes 59577905 (59.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 484568 bytes 292743185 (292.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 909261 bytes 70702676 (70.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 841360 bytes 59583879 (59.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 841360 bytes 59583879 (59.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 484636 bytes 292773931 (292.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 909421 bytes 70715695 (70.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 841510 bytes 59595029 (59.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 841510 bytes 59595029 (59.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 484681 bytes 292802615 (292.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 909546 bytes 70725743 (70.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 841582 bytes 59600039 (59.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 841582 bytes 59600039 (59.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 484726 bytes 292831299 (292.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 909613 bytes 70730754 (70.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 841654 bytes 59605049 (59.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 841654 bytes 59605049 (59.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 484771 bytes 292859983 (292.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 909685 bytes 70736159 (70.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 841726 bytes 59610059 (59.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 841726 bytes 59610059 (59.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 484817 bytes 292888821 (292.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 909759 bytes 70741808 (70.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 841810 bytes 59616033 (59.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 841810 bytes 59616033 (59.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 484867 bytes 292918280 (292.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 909847 bytes 70748688 (70.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 841888 bytes 59621525 (59.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 841888 bytes 59621525 (59.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 484911 bytes 292946936 (292.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 909918 bytes 70754249 (70.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 841960 bytes 59626535 (59.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 841960 bytes 59626535 (59.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 484955 bytes 292975592 (292.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 909990 bytes 70759693 (70.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 842032 bytes 59631545 (59.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 842032 bytes 59631545 (59.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 484999 bytes 293004248 (293.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 910060 bytes 70764975 (70.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 842104 bytes 59636555 (59.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 842104 bytes 59636555 (59.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 485045 bytes 293033086 (293.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 910135 bytes 70770705 (70.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 842188 bytes 59642529 (59.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 842188 bytes 59642529 (59.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 485112 bytes 293063804 (293.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 910292 bytes 70783507 (70.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 842338 bytes 59653679 (59.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 842338 bytes 59653679 (59.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 485155 bytes 293092432 (293.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 910415 bytes 70793495 (70.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 842410 bytes 59658689 (59.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 842410 bytes 59658689 (59.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 485200 bytes 293121116 (293.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 910487 bytes 70798900 (70.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 842482 bytes 59663699 (59.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 842482 bytes 59663699 (59.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 485245 bytes 293149800 (293.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 910549 bytes 70803605 (70.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 842554 bytes 59668709 (59.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 842554 bytes 59668709 (59.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 485292 bytes 293178666 (293.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 910625 bytes 70809366 (70.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 842638 bytes 59674683 (59.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 842638 bytes 59674683 (59.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 485343 bytes 293208153 (293.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 910714 bytes 70816288 (70.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 842716 bytes 59680175 (59.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 842716 bytes 59680175 (59.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 485388 bytes 293236837 (293.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 910797 bytes 70822672 (70.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 842788 bytes 59685185 (59.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 842788 bytes 59685185 (59.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:13:c9:c7:22 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 485433 bytes 293265521 (293.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 910875 bytes 70828801 (70.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 842865 bytes 59690643 (59.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 842865 bytes 59690643 (59.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 52 bytes 4548 (4.5 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 168 bytes 15592 (15.5 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 336 bytes 25193 (25.1 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 336 bytes 25193 (25.1 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 164 bytes 38440 (38.4 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 440 bytes 37454 (37.4 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 768 bytes 58617 (58.6 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 768 bytes 58617 (58.6 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 265 bytes 71537 (71.5 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 646 bytes 54012 (54.0 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 1092 bytes 83289 (83.2 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 1092 bytes 83289 (83.2 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 338 bytes 102329 (102.3 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 811 bytes 67247 (67.2 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 1272 bytes 96627 (96.6 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 1272 bytes 96627 (96.6 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 401 bytes 132427 (132.4 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 974 bytes 80113 (80.1 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 1422 bytes 107705 (107.7 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 1422 bytes 107705 (107.7 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 469 bytes 163299 (163.2 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 1146 bytes 93904 (93.9 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 1584 bytes 119819 (119.8 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 1584 bytes 119819 (119.8 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 531 bytes 193442 (193.4 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 1298 bytes 106153 (106.1 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 1740 bytes 131271 (131.2 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 1740 bytes 131271 (131.2 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 582 bytes 222469 (222.4 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 1435 bytes 116715 (116.7 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 1818 bytes 136691 (136.6 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 1818 bytes 136691 (136.6 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 643 bytes 252384 (252.3 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 1575 bytes 127649 (127.6 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 1962 bytes 147359 (147.3 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 1962 bytes 147359 (147.3 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 688 bytes 281068 (281.0 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 1696 bytes 137323 (137.3 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 2034 bytes 152369 (152.3 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 2034 bytes 152369 (152.3 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 744 bytes 311066 (311.0 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 1826 bytes 147879 (147.8 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 2148 bytes 160711 (160.7 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 2148 bytes 160711 (160.7 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 806 bytes 341012 (341.0 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 1981 bytes 160272 (160.2 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 2280 bytes 170277 (170.2 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 2280 bytes 170277 (170.2 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 853 bytes 369879 (369.8 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 2138 bytes 172681 (172.6 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 2358 bytes 175697 (175.6 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 2358 bytes 175697 (175.6 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 902 bytes 398920 (398.9 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 2245 bytes 180811 (180.8 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 2454 bytes 182593 (182.5 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 2454 bytes 182593 (182.5 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 958 bytes 428450 (428.4 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 2376 bytes 191363 (191.3 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 2574 bytes 191375 (191.3 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 2574 bytes 191375 (191.3 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 1010 bytes 458091 (458.0 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 2510 bytes 202260 (202.2 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 2664 bytes 197831 (197.8 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 2664 bytes 197831 (197.8 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 1054 bytes 486747 (486.7 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 2592 bytes 208610 (208.6 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 2736 bytes 202841 (202.8 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 2736 bytes 202841 (202.8 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 1114 bytes 516634 (516.6 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 2708 bytes 217820 (217.8 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 2880 bytes 213509 (213.5 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 2880 bytes 213509 (213.5 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 1158 bytes 545290 (545.2 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 2824 bytes 227131 (227.1 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 2952 bytes 218519 (218.5 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 2952 bytes 218519 (218.5 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 1203 bytes 573974 (573.9 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 2919 bytes 234560 (234.5 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 3024 bytes 223529 (223.5 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 3024 bytes 223529 (223.5 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 1263 bytes 604208 (604.2 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 3025 bytes 242875 (242.8 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 3144 bytes 232263 (232.2 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 3144 bytes 232263 (232.2 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 1324 bytes 634129 (634.1 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 3201 bytes 256892 (256.8 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 3276 bytes 241847 (241.8 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 3276 bytes 241847 (241.8 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 1369 bytes 662813 (662.8 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 3354 bytes 268975 (268.9 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 3348 bytes 246857 (246.8 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 3348 bytes 246857 (246.8 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 1414 bytes 691497 (691.4 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 3429 bytes 274618 (274.6 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 3420 bytes 251867 (251.8 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 3420 bytes 251867 (251.8 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 1460 bytes 720209 (720.2 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 3502 bytes 280065 (280.0 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 3492 bytes 256877 (256.8 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 3492 bytes 256877 (256.8 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 1514 bytes 749906 (749.9 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 3596 bytes 287377 (287.3 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 3582 bytes 263333 (263.3 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 3582 bytes 263333 (263.3 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 1575 bytes 779821 (779.8 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 3740 bytes 299021 (299.0 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 3726 bytes 274001 (274.0 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 3726 bytes 274001 (274.0 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 1612 bytes 807927 (807.9 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 3848 bytes 307667 (307.6 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 3762 bytes 276407 (276.4 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 3762 bytes 276407 (276.4 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 1659 bytes 836722 (836.7 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 3925 bytes 313463 (313.4 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 3840 bytes 281851 (281.8 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 3840 bytes 281851 (281.8 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 1708 bytes 865640 (865.6 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 3991 bytes 318446 (318.4 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 3924 bytes 287729 (287.7 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 3924 bytes 287729 (287.7 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 1767 bytes 895881 (895.8 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4106 bytes 327659 (327.6 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 4068 bytes 298253 (298.2 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4068 bytes 298253 (298.2 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 1903 bytes 983185 (983.1 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4403 bytes 352484 (352.4 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 4228 bytes 309839 (309.8 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4228 bytes 309839 (309.8 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 1949 bytes 1011897 (1.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4590 bytes 367675 (367.6 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 4300 bytes 314849 (314.8 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4300 bytes 314849 (314.8 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 1993 bytes 1040553 (1.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4663 bytes 373202 (373.2 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 4372 bytes 319859 (319.8 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4372 bytes 319859 (319.8 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2038 bytes 1069237 (1.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4734 bytes 378537 (378.5 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 4444 bytes 324869 (324.8 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4444 bytes 324869 (324.8 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2090 bytes 1098878 (1.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4824 bytes 385603 (385.6 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 4534 bytes 331325 (331.3 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4534 bytes 331325 (331.3 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2134 bytes 1127534 (1.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4897 bytes 391334 (391.3 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 4606 bytes 336335 (336.3 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4606 bytes 336335 (336.3 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2192 bytes 1157317 (1.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4996 bytes 399026 (399.0 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 4750 bytes 347003 (347.0 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4750 bytes 347003 (347.0 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2243 bytes 1186389 (1.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 5128 bytes 409559 (409.5 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 4834 bytes 352797 (352.7 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4834 bytes 352797 (352.7 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2291 bytes 1215415 (1.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 5273 bytes 420957 (420.9 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 4918 bytes 358651 (358.6 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4918 bytes 358651 (358.6 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2343 bytes 1245001 (1.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 5391 bytes 430078 (430.0 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 5002 bytes 364673 (364.6 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 5002 bytes 364673 (364.6 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2402 bytes 1274860 (1.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 5543 bytes 442511 (442.5 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 5146 bytes 375341 (375.3 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 5146 bytes 375341 (375.3 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2446 bytes 1303516 (1.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 5658 bytes 451722 (451.7 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 5218 bytes 380351 (380.3 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 5218 bytes 380351 (380.3 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2490 bytes 1332172 (1.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 5718 bytes 456304 (456.3 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 5290 bytes 385361 (385.3 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 5290 bytes 385361 (385.3 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2534 bytes 1360828 (1.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 5789 bytes 461667 (461.6 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 5362 bytes 390371 (390.3 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 5362 bytes 390371 (390.3 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2587 bytes 1390497 (1.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 5881 bytes 468856 (468.8 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 5452 bytes 396827 (396.8 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 5452 bytes 396827 (396.8 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2630 bytes 1419125 (1.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 5961 bytes 475075 (475.0 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 5524 bytes 401837 (401.8 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 5524 bytes 401837 (401.8 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2674 bytes 1447781 (1.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 6032 bytes 480457 (480.4 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 5596 bytes 406847 (406.8 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 5596 bytes 406847 (406.8 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2719 bytes 1476465 (1.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 6102 bytes 485711 (485.7 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 5668 bytes 411857 (411.8 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 5668 bytes 411857 (411.8 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2776 bytes 1506220 (1.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 6196 bytes 493026 (493.0 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 5812 bytes 422525 (422.5 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 5812 bytes 422525 (422.5 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2831 bytes 1535993 (1.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 6336 bytes 504453 (504.4 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 5902 bytes 428981 (428.9 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 5902 bytes 428981 (428.9 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2892 bytes 1565908 (1.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 6473 bytes 515483 (515.4 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 6046 bytes 439649 (439.6 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 6046 bytes 439649 (439.6 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2937 bytes 1594592 (1.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 6547 bytes 521058 (521.0 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 6118 bytes 444659 (444.6 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 6118 bytes 444659 (444.6 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2982 bytes 1623276 (1.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 6618 bytes 526382 (526.3 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 6190 bytes 449669 (449.6 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 6190 bytes 449669 (449.6 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 3026 bytes 1651932 (1.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 6688 bytes 531675 (531.6 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 6262 bytes 454679 (454.6 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 6262 bytes 454679 (454.6 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 3078 bytes 1681573 (1.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 6779 bytes 538822 (538.8 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 6352 bytes 461135 (461.1 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 6352 bytes 461135 (461.1 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 3123 bytes 1710257 (1.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 6861 bytes 545144 (545.1 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 6424 bytes 466145 (466.1 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 6424 bytes 466145 (466.1 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 3167 bytes 1738913 (1.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 6932 bytes 550507 (550.5 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 6496 bytes 471155 (471.1 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 6496 bytes 471155 (471.1 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 3211 bytes 1767569 (1.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 7004 bytes 555940 (555.9 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 6568 bytes 476165 (476.1 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 6568 bytes 476165 (476.1 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 3256 bytes 1796253 (1.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 7075 bytes 561275 (561.2 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 6640 bytes 481175 (481.1 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 6640 bytes 481175 (481.1 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 3309 bytes 1825922 (1.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 7167 bytes 568464 (568.4 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 6730 bytes 487631 (487.6 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 6730 bytes 487631 (487.6 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 3369 bytes 1855809 (1.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 7318 bytes 580775 (580.7 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 6874 bytes 498299 (498.2 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 6874 bytes 498299 (498.2 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 3414 bytes 1884493 (1.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 7424 bytes 589319 (589.3 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 6946 bytes 503309 (503.3 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 6946 bytes 503309 (503.3 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 3459 bytes 1913177 (1.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 7496 bytes 594724 (594.7 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 7018 bytes 508319 (508.3 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 7018 bytes 508319 (508.3 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 3503 bytes 1941833 (1.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 7566 bytes 600017 (600.0 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 7090 bytes 513329 (513.3 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 7090 bytes 513329 (513.3 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 3555 bytes 1971474 (1.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 7657 bytes 607153 (607.1 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 7180 bytes 519785 (519.7 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 7180 bytes 519785 (519.7 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 3600 bytes 2000158 (2.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 7740 bytes 613537 (613.5 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 7252 bytes 524795 (524.7 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 7252 bytes 524795 (524.7 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 3644 bytes 2028814 (2.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 7811 bytes 618919 (618.9 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 7324 bytes 529805 (529.8 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 7324 bytes 529805 (529.8 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 3687 bytes 2057442 (2.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 7880 bytes 624159 (624.1 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 7396 bytes 534815 (534.8 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 7396 bytes 534815 (534.8 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 3732 bytes 2086126 (2.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 7951 bytes 629483 (629.4 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 7468 bytes 539825 (539.8 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 7468 bytes 539825 (539.8 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 3788 bytes 2116124 (2.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 8049 bytes 637258 (637.2 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 7582 bytes 548167 (548.1 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 7582 bytes 548167 (548.1 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 3843 bytes 2145626 (2.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 8176 bytes 647699 (647.6 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 7702 bytes 556949 (556.9 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 7702 bytes 556949 (556.9 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 3887 bytes 2174282 (2.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 8294 bytes 657161 (657.1 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 7774 bytes 561959 (561.9 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 7774 bytes 561959 (561.9 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 3937 bytes 2203354 (2.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 8380 bytes 663610 (663.6 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 7858 bytes 567753 (567.7 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 7858 bytes 567753 (567.7 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 3982 bytes 2232165 (2.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 8485 bytes 671580 (671.5 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 7936 bytes 573173 (573.1 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 7936 bytes 573173 (573.1 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 4034 bytes 2261806 (2.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 8601 bytes 680592 (680.5 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 8026 bytes 579629 (579.6 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 8026 bytes 579629 (579.6 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 4079 bytes 2290490 (2.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 8686 bytes 687142 (687.1 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 8098 bytes 584639 (584.6 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 8098 bytes 584639 (584.6 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 4123 bytes 2319146 (2.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 8757 bytes 692513 (692.5 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 8170 bytes 589649 (589.6 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 8170 bytes 589649 (589.6 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 4166 bytes 2347774 (2.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 8813 bytes 696810 (696.8 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 8242 bytes 594659 (594.6 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 8242 bytes 594659 (594.6 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 4210 bytes 2376430 (2.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 8884 bytes 702173 (702.1 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 8314 bytes 599669 (599.6 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 8314 bytes 599669 (599.6 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 4262 bytes 2406071 (2.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 8975 bytes 709320 (709.3 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 8404 bytes 606125 (606.1 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 8404 bytes 606125 (606.1 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 4322 bytes 2435958 (2.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 9124 bytes 721472 (721.4 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 8548 bytes 616793 (616.7 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 8548 bytes 616793 (616.7 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 4366 bytes 2464614 (2.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 9239 bytes 730682 (730.6 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 8620 bytes 621803 (621.8 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 8620 bytes 621803 (621.8 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 4410 bytes 2493270 (2.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 9310 bytes 736045 (736.0 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 8692 bytes 626813 (626.8 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 8692 bytes 626813 (626.8 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 4454 bytes 2521926 (2.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 9380 bytes 741327 (741.3 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 8764 bytes 631823 (631.8 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 8764 bytes 631823 (631.8 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 4506 bytes 2551567 (2.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 9471 bytes 748485 (748.4 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 8854 bytes 638279 (638.2 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 8854 bytes 638279 (638.2 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 4552 bytes 2580279 (2.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 9556 bytes 755000 (755.0 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 8926 bytes 643289 (643.2 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 8926 bytes 643289 (643.2 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 4592 bytes 2608646 (2.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 9613 bytes 759346 (759.3 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 8980 bytes 646997 (646.9 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 8980 bytes 646997 (646.9 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 4638 bytes 2637413 (2.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 9685 bytes 764751 (764.7 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 9058 bytes 652441 (652.4 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 9058 bytes 652441 (652.4 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 4686 bytes 2666303 (2.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 9761 bytes 770473 (770.4 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 9142 bytes 658319 (658.3 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 9142 bytes 658319 (658.3 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 4738 bytes 2695944 (2.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 9850 bytes 777469 (777.4 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 9232 bytes 664775 (664.7 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 9232 bytes 664775 (664.7 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 4799 bytes 2725859 (2.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 10000 bytes 789635 (789.6 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 9376 bytes 675443 (675.4 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 9376 bytes 675443 (675.4 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 4844 bytes 2754543 (2.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 10118 bytes 799077 (799.0 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 9448 bytes 680453 (680.4 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 9448 bytes 680453 (680.4 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 4889 bytes 2783227 (2.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 10190 bytes 804482 (804.4 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 9520 bytes 685463 (685.4 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 9520 bytes 685463 (685.4 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 4932 bytes 2811855 (2.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 10250 bytes 809103 (809.1 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 9592 bytes 690473 (690.4 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 9592 bytes 690473 (690.4 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 4985 bytes 2841524 (2.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 10341 bytes 816203 (816.2 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 9682 bytes 696929 (696.9 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 9682 bytes 696929 (696.9 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 5028 bytes 2870152 (2.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 10422 bytes 822511 (822.5 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 9754 bytes 701939 (701.9 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 9754 bytes 701939 (701.9 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 5072 bytes 2898808 (2.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 10494 bytes 827963 (827.9 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 9826 bytes 706949 (706.9 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 9826 bytes 706949 (706.9 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 5116 bytes 2927464 (2.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 10565 bytes 833326 (833.3 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 9898 bytes 711959 (711.9 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 9898 bytes 711959 (711.9 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 5161 bytes 2956148 (2.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 10635 bytes 838580 (838.5 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 9970 bytes 716969 (716.9 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 9970 bytes 716969 (716.9 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 5213 bytes 2985789 (2.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 10724 bytes 845557 (845.5 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 10060 bytes 723425 (723.4 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 10060 bytes 723425 (723.4 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 5273 bytes 3015676 (3.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 10872 bytes 857600 (857.6 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 10204 bytes 734093 (734.0 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 10204 bytes 734093 (734.0 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 5319 bytes 3044388 (3.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 10993 bytes 867243 (867.2 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 10276 bytes 739103 (739.1 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 10276 bytes 739103 (739.1 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 5363 bytes 3073044 (3.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 11063 bytes 872536 (872.5 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 10348 bytes 744113 (744.1 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 10348 bytes 744113 (744.1 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 5409 bytes 3101756 (3.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 11136 bytes 877983 (877.9 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 10420 bytes 749123 (749.1 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 10420 bytes 749123 (749.1 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 5461 bytes 3131397 (3.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 11226 bytes 885049 (885.0 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 10510 bytes 755579 (755.5 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 10510 bytes 755579 (755.5 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 5506 bytes 3160081 (3.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 11310 bytes 891522 (891.5 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 10582 bytes 760589 (760.5 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 10582 bytes 760589 (760.5 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 5551 bytes 3188765 (3.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 11371 bytes 896146 (896.1 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 10654 bytes 765599 (765.5 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 10654 bytes 765599 (765.5 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 5601 bytes 3217888 (3.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 11460 bytes 902847 (902.8 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 10744 bytes 771803 (771.8 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 10744 bytes 771803 (771.8 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 5646 bytes 3246648 (3.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 11565 bytes 910768 (910.7 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 10816 bytes 776813 (776.8 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 10816 bytes 776813 (776.8 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 5698 bytes 3276289 (3.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 11680 bytes 919724 (919.7 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 10906 bytes 783269 (783.2 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 10906 bytes 783269 (783.2 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 5837 bytes 3364057 (3.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 11944 bytes 941958 (941.9 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 11120 bytes 798923 (798.9 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 11120 bytes 798923 (798.9 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 5879 bytes 3392657 (3.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 12135 bytes 957650 (957.6 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 11192 bytes 803933 (803.9 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 11192 bytes 803933 (803.9 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 5924 bytes 3421341 (3.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 12252 bytes 966827 (966.8 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 11264 bytes 808943 (808.9 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 11264 bytes 808943 (808.9 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 5968 bytes 3449997 (3.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 12323 bytes 972190 (972.1 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 11336 bytes 813953 (813.9 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 11336 bytes 813953 (813.9 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 6020 bytes 3479638 (3.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 12414 bytes 979337 (979.3 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 11426 bytes 820409 (820.4 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 11426 bytes 820409 (820.4 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 6064 bytes 3508294 (3.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 12495 bytes 985609 (985.6 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 11498 bytes 825419 (825.4 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 11498 bytes 825419 (825.4 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 6108 bytes 3536950 (3.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 12566 bytes 990980 (990.9 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 11570 bytes 830429 (830.4 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 11570 bytes 830429 (830.4 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 6152 bytes 3565606 (3.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 12627 bytes 995643 (995.6 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 11642 bytes 835439 (835.4 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 11642 bytes 835439 (835.4 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 6195 bytes 3594234 (3.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 12697 bytes 1000964 (1.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 11714 bytes 840449 (840.4 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 11714 bytes 840449 (840.4 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 6248 bytes 3623903 (3.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 12788 bytes 1008072 (1.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 11804 bytes 846905 (846.9 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 11804 bytes 846905 (846.9 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 6306 bytes 3653734 (3.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 12936 bytes 1020218 (1.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 11948 bytes 857573 (857.5 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 11948 bytes 857573 (857.5 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 6351 bytes 3682418 (3.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13052 bytes 1029462 (1.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 12020 bytes 862583 (862.5 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 12020 bytes 862583 (862.5 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 6394 bytes 3711046 (3.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13121 bytes 1034702 (1.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 12092 bytes 867593 (867.5 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 12092 bytes 867593 (867.5 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 6439 bytes 3739730 (3.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13192 bytes 1040037 (1.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 12164 bytes 872603 (872.6 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 12164 bytes 872603 (872.6 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 6491 bytes 3769371 (3.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13283 bytes 1047184 (1.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 12254 bytes 879059 (879.0 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 12254 bytes 879059 (879.0 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 6535 bytes 3798027 (3.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13366 bytes 1053615 (1.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 12326 bytes 884069 (884.0 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 12326 bytes 884069 (884.0 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 6580 bytes 3826766 (3.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13438 bytes 1059059 (1.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 12404 bytes 889513 (889.5 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 12404 bytes 889513 (889.5 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 6623 bytes 3855339 (3.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13507 bytes 1064271 (1.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 12470 bytes 894089 (894.0 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 12470 bytes 894089 (894.0 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 6667 bytes 3884050 (3.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13567 bytes 1068892 (1.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 12548 bytes 899533 (899.5 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 12548 bytes 899533 (899.5 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 6719 bytes 3913636 (3.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13658 bytes 1076000 (1.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 12632 bytes 905555 (905.5 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 12632 bytes 905555 (905.5 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 6779 bytes 3943523 (3.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13805 bytes 1087962 (1.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 12776 bytes 916223 (916.2 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 12776 bytes 916223 (916.2 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 6823 bytes 3972179 (3.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13921 bytes 1097251 (1.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 12848 bytes 921233 (921.2 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 12848 bytes 921233 (921.2 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 6867 bytes 4000835 (4.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13993 bytes 1102725 (1.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 12920 bytes 926243 (926.2 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 12920 bytes 926243 (926.2 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 6911 bytes 4029491 (4.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14065 bytes 1108158 (1.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 12992 bytes 931253 (931.2 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 12992 bytes 931253 (931.2 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 6963 bytes 4059132 (4.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14154 bytes 1115154 (1.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 13082 bytes 937709 (937.7 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13082 bytes 937709 (937.7 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 7008 bytes 4087816 (4.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14234 bytes 1121303 (1.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 13154 bytes 942719 (942.7 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13154 bytes 942719 (942.7 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 7053 bytes 4116500 (4.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14306 bytes 1126719 (1.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 13226 bytes 947729 (947.7 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13226 bytes 947729 (947.7 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 7098 bytes 4145184 (4.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14377 bytes 1132043 (1.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 13298 bytes 952739 (952.7 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13298 bytes 952739 (952.7 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 7143 bytes 4173868 (4.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14448 bytes 1137367 (1.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 13370 bytes 957749 (957.7 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13370 bytes 957749 (957.7 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 7195 bytes 4203509 (4.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14529 bytes 1143814 (1.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 13460 bytes 964205 (964.2 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13460 bytes 964205 (964.2 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 7256 bytes 4233424 (4.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14681 bytes 1156151 (1.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 13604 bytes 974873 (974.8 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13604 bytes 974873 (974.8 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 7300 bytes 4262080 (4.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14797 bytes 1165450 (1.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 13676 bytes 979883 (979.8 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13676 bytes 979883 (979.8 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 7350 bytes 4291279 (4.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14889 bytes 1172424 (1.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 13766 bytes 986087 (986.0 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13766 bytes 986087 (986.0 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 7394 bytes 4319935 (4.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14994 bytes 1180336 (1.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 13838 bytes 991097 (991.0 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13838 bytes 991097 (991.0 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 7445 bytes 4349548 (4.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 15105 bytes 1189025 (1.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 13928 bytes 997553 (997.5 KB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 13928 bytes 997553 (997.5 KB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 7488 bytes 4378176 (4.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 15187 bytes 1195414 (1.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 14000 bytes 1002563 (1.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14000 bytes 1002563 (1.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 7530 bytes 4406654 (4.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 15256 bytes 1200583 (1.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 14060 bytes 1006705 (1.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14060 bytes 1006705 (1.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 7577 bytes 4435516 (4.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 15329 bytes 1206112 (1.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 14144 bytes 1012583 (1.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14144 bytes 1012583 (1.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 7621 bytes 4464172 (4.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 15390 bytes 1210775 (1.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 14216 bytes 1017593 (1.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14216 bytes 1017593 (1.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 7673 bytes 4493813 (4.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 15480 bytes 1217841 (1.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 14306 bytes 1024049 (1.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14306 bytes 1024049 (1.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 7735 bytes 4523756 (4.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 15636 bytes 1230495 (1.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 14450 bytes 1034717 (1.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14450 bytes 1034717 (1.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 7780 bytes 4552440 (4.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 15748 bytes 1239410 (1.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 14522 bytes 1039727 (1.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14522 bytes 1039727 (1.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 7824 bytes 4581096 (4.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 15820 bytes 1244854 (1.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 14594 bytes 1044737 (1.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14594 bytes 1044737 (1.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 7870 bytes 4609808 (4.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 15891 bytes 1250150 (1.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 14666 bytes 1049747 (1.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14666 bytes 1049747 (1.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 7923 bytes 4639477 (4.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 15981 bytes 1257169 (1.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 14756 bytes 1056203 (1.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14756 bytes 1056203 (1.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 7967 bytes 4668133 (4.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 16064 bytes 1263589 (1.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 14828 bytes 1061213 (1.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14828 bytes 1061213 (1.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 8012 bytes 4696872 (4.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 16136 bytes 1269052 (1.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 14906 bytes 1066657 (1.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14906 bytes 1066657 (1.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 8056 bytes 4725473 (4.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 16196 bytes 1273595 (1.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 14972 bytes 1071233 (1.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 14972 bytes 1071233 (1.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 8101 bytes 4754157 (4.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 16268 bytes 1279000 (1.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 15044 bytes 1076243 (1.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 15044 bytes 1076243 (1.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 8154 bytes 4783826 (4.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 16360 bytes 1286189 (1.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 15134 bytes 1082699 (1.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 15134 bytes 1082699 (1.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 8216 bytes 4813769 (4.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 16511 bytes 1298420 (1.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 15278 bytes 1093367 (1.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 15278 bytes 1093367 (1.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 8261 bytes 4842453 (4.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 16628 bytes 1307758 (1.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 15350 bytes 1098377 (1.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 15350 bytes 1098377 (1.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 8306 bytes 4871137 (4.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 16699 bytes 1313082 (1.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 15422 bytes 1103387 (1.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 15422 bytes 1103387 (1.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 8351 bytes 4899821 (4.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 16769 bytes 1318336 (1.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 15494 bytes 1108397 (1.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 15494 bytes 1108397 (1.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 8404 bytes 4929490 (4.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 16861 bytes 1325506 (1.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 15584 bytes 1114853 (1.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 15584 bytes 1114853 (1.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 8450 bytes 4958202 (4.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 16944 bytes 1331870 (1.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 15656 bytes 1119863 (1.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 15656 bytes 1119863 (1.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 8495 bytes 4986886 (4.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 17003 bytes 1336340 (1.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 15728 bytes 1124873 (1.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 15728 bytes 1124873 (1.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 8540 bytes 5015570 (5.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 17076 bytes 1341815 (1.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 15800 bytes 1129883 (1.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 15800 bytes 1129883 (1.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 8585 bytes 5044254 (5.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 17147 bytes 1347150 (1.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 15872 bytes 1134893 (1.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 15872 bytes 1134893 (1.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 8637 bytes 5073895 (5.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 17237 bytes 1354227 (1.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 15962 bytes 1141349 (1.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 15962 bytes 1141349 (1.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 8697 bytes 5103782 (5.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 17385 bytes 1366254 (1.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 16106 bytes 1152017 (1.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 16106 bytes 1152017 (1.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 8742 bytes 5132521 (5.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 17504 bytes 1375810 (1.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 16184 bytes 1157461 (1.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 16184 bytes 1157461 (1.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 8785 bytes 5161094 (5.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 17574 bytes 1381092 (1.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 16250 bytes 1162037 (1.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 16250 bytes 1162037 (1.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 8829 bytes 5189750 (5.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 17644 bytes 1386385 (1.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 16322 bytes 1167047 (1.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 16322 bytes 1167047 (1.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 8881 bytes 5219391 (5.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 17734 bytes 1393443 (1.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 16412 bytes 1173503 (1.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 16412 bytes 1173503 (1.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 8927 bytes 5248103 (5.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 17817 bytes 1399807 (1.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 16484 bytes 1178513 (1.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 16484 bytes 1178513 (1.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 8974 bytes 5276953 (5.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 17892 bytes 1405463 (1.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 16568 bytes 1184391 (1.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 16568 bytes 1184391 (1.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 9028 bytes 5306331 (5.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 17993 bytes 1413052 (1.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 16664 bytes 1191029 (1.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 16664 bytes 1191029 (1.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 9074 bytes 5335043 (5.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 18100 bytes 1421048 (1.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 16736 bytes 1196039 (1.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 16736 bytes 1196039 (1.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 9126 bytes 5364684 (5.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 18210 bytes 1429635 (1.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 16826 bytes 1202495 (1.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 16826 bytes 1202495 (1.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 9186 bytes 5394571 (5.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 18361 bytes 1441911 (1.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 16970 bytes 1213163 (1.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 16970 bytes 1213163 (1.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 9231 bytes 5423255 (5.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 18478 bytes 1451260 (1.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 17042 bytes 1218173 (1.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 17042 bytes 1218173 (1.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 9276 bytes 5451939 (5.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 18549 bytes 1456584 (1.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 17114 bytes 1223183 (1.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 17114 bytes 1223183 (1.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 9321 bytes 5480623 (5.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 18621 bytes 1462000 (1.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 17186 bytes 1228193 (1.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 17186 bytes 1228193 (1.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 9374 bytes 5510292 (5.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 18712 bytes 1469100 (1.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 17276 bytes 1234649 (1.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 17276 bytes 1234649 (1.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 9419 bytes 5538976 (5.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 18796 bytes 1475573 (1.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 17348 bytes 1239659 (1.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 17348 bytes 1239659 (1.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 9465 bytes 5567688 (5.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 18869 bytes 1481028 (1.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 17420 bytes 1244669 (1.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 17420 bytes 1244669 (1.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 9510 bytes 5596372 (5.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 18941 bytes 1486422 (1.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 17492 bytes 1249679 (1.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 17492 bytes 1249679 (1.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 9555 bytes 5625056 (5.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 19012 bytes 1491746 (1.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 17564 bytes 1254689 (1.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 17564 bytes 1254689 (1.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 9610 bytes 5655026 (5.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 19110 bytes 1499549 (1.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 17678 bytes 1263031 (1.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 17678 bytes 1263031 (1.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 9668 bytes 5684612 (5.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 19251 bytes 1510903 (1.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 17798 bytes 1271813 (1.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 17798 bytes 1271813 (1.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 9713 bytes 5713351 (5.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 19370 bytes 1520448 (1.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 17876 bytes 1277257 (1.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 17876 bytes 1277257 (1.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 9756 bytes 5741924 (5.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 19439 bytes 1525660 (1.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 17942 bytes 1281833 (1.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 17942 bytes 1281833 (1.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 9799 bytes 5770552 (5.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 19498 bytes 1530200 (1.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 18014 bytes 1286843 (1.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 18014 bytes 1286843 (1.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 9851 bytes 5800193 (5.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 19589 bytes 1537347 (1.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 18104 bytes 1293299 (1.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 18104 bytes 1293299 (1.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 9896 bytes 5828877 (5.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 19673 bytes 1543820 (1.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 18176 bytes 1298309 (1.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 18176 bytes 1298309 (1.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 9941 bytes 5857561 (5.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 19744 bytes 1549144 (1.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 18248 bytes 1303319 (1.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 18248 bytes 1303319 (1.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 9986 bytes 5886245 (5.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 19815 bytes 1554479 (1.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 18320 bytes 1308329 (1.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 18320 bytes 1308329 (1.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 10031 bytes 5914929 (5.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 19887 bytes 1559884 (1.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 18392 bytes 1313339 (1.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 18392 bytes 1313339 (1.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 10087 bytes 5944927 (5.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 19985 bytes 1567640 (1.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 18506 bytes 1321681 (1.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 18506 bytes 1321681 (1.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 10144 bytes 5974485 (5.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 20127 bytes 1579105 (1.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 18626 bytes 1330463 (1.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 18626 bytes 1330463 (1.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 10188 bytes 6003141 (6.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 20242 bytes 1588326 (1.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 18698 bytes 1335473 (1.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 18698 bytes 1335473 (1.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 10232 bytes 6031797 (6.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 20314 bytes 1593798 (1.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 18770 bytes 1340483 (1.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 18770 bytes 1340483 (1.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 10276 bytes 6060453 (6.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 20381 bytes 1598837 (1.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 18842 bytes 1345493 (1.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 18842 bytes 1345493 (1.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 10328 bytes 6090094 (6.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 20473 bytes 1606065 (1.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 18932 bytes 1351949 (1.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 18932 bytes 1351949 (1.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 10372 bytes 6118750 (6.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 20555 bytes 1612415 (1.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 19004 bytes 1356959 (1.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 19004 bytes 1356959 (1.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 10411 bytes 6147022 (6.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 20609 bytes 1616486 (1.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 19052 bytes 1360233 (1.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 19052 bytes 1360233 (1.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 10457 bytes 6175801 (6.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 20681 bytes 1621912 (1.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 19130 bytes 1365677 (1.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 19130 bytes 1365677 (1.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 10502 bytes 6204485 (6.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 20752 bytes 1627247 (1.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 19202 bytes 1370687 (1.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 19202 bytes 1370687 (1.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 10557 bytes 6234455 (6.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 20849 bytes 1634961 (1.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 19316 bytes 1379029 (1.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 19316 bytes 1379029 (1.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 10615 bytes 6264041 (6.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 20990 bytes 1646317 (1.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 19436 bytes 1387811 (1.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 19436 bytes 1387811 (1.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 10659 bytes 6292697 (6.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 21108 bytes 1655787 (1.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 19508 bytes 1392821 (1.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 19508 bytes 1392821 (1.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 10709 bytes 6321896 (6.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 21209 bytes 1663436 (1.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 19598 bytes 1399025 (1.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 19598 bytes 1399025 (1.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 10753 bytes 6350552 (6.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 21312 bytes 1671193 (1.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 19670 bytes 1404035 (1.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 19670 bytes 1404035 (1.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 10804 bytes 6380165 (6.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 21416 bytes 1679362 (1.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 19760 bytes 1410491 (1.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 19760 bytes 1410491 (1.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 10846 bytes 6408765 (6.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 21495 bytes 1685539 (1.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 19832 bytes 1415501 (1.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 19832 bytes 1415501 (1.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 10892 bytes 6437532 (6.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 21566 bytes 1690871 (1.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 19910 bytes 1420945 (1.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 19910 bytes 1420945 (1.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 10935 bytes 6466105 (6.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 21636 bytes 1696153 (1.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 19980 bytes 1425789 (1.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 19980 bytes 1425789 (1.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 10978 bytes 6494733 (6.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 21704 bytes 1701323 (1.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 20048 bytes 1430531 (1.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 20048 bytes 1430531 (1.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 11035 bytes 6524759 (6.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 21804 bytes 1709191 (1.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 20162 bytes 1438873 (1.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 20162 bytes 1438873 (1.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 11091 bytes 6554289 (6.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 21947 bytes 1720782 (1.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 20286 bytes 1447923 (1.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 20286 bytes 1447923 (1.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 11136 bytes 6582973 (6.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 22061 bytes 1729883 (1.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 20354 bytes 1452665 (1.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 20354 bytes 1452665 (1.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 11181 bytes 6611657 (6.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 22134 bytes 1735380 (1.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 20426 bytes 1457675 (1.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 20426 bytes 1457675 (1.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 11226 bytes 6640341 (6.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 22206 bytes 1740796 (1.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 20498 bytes 1462685 (1.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 20498 bytes 1462685 (1.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 11279 bytes 6670010 (6.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 22297 bytes 1747904 (1.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 20588 bytes 1469141 (1.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 20588 bytes 1469141 (1.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 11325 bytes 6698722 (6.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 22372 bytes 1753719 (1.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 20660 bytes 1474151 (1.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 20660 bytes 1474151 (1.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 11370 bytes 6727406 (6.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 22445 bytes 1759194 (1.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 20732 bytes 1479161 (1.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 20732 bytes 1479161 (1.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 11415 bytes 6756090 (6.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 22515 bytes 1764448 (1.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 20804 bytes 1484171 (1.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 20804 bytes 1484171 (1.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 11461 bytes 6784857 (6.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 22587 bytes 1769853 (1.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 20882 bytes 1489615 (1.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 20882 bytes 1489615 (1.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 11517 bytes 6814855 (6.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 22685 bytes 1777620 (1.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 20996 bytes 1497957 (1.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 20996 bytes 1497957 (1.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 11573 bytes 6844330 (6.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 22830 bytes 1789326 (1.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 21114 bytes 1506573 (1.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 21114 bytes 1506573 (1.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 11619 bytes 6873097 (6.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 22946 bytes 1798597 (1.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 21188 bytes 1511749 (1.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 21188 bytes 1511749 (1.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 11663 bytes 6901698 (6.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 23016 bytes 1803840 (1.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 21254 bytes 1516325 (1.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 21254 bytes 1516325 (1.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 11707 bytes 6930354 (6.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 23086 bytes 1809133 (1.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 21326 bytes 1521335 (1.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 21326 bytes 1521335 (1.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 11760 bytes 6960023 (6.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 23178 bytes 1816322 (1.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 21416 bytes 1527791 (1.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 21416 bytes 1527791 (1.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 11805 bytes 6988707 (6.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 23262 bytes 1822795 (1.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 21488 bytes 1532801 (1.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 21488 bytes 1532801 (1.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 11851 bytes 7017474 (7.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 23335 bytes 1828281 (1.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 21566 bytes 1538245 (1.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 21566 bytes 1538245 (1.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 11899 bytes 7046364 (7.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 23409 bytes 1833852 (1.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 21650 bytes 1544123 (1.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 21650 bytes 1544123 (1.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 11944 bytes 7075048 (7.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 23471 bytes 1838557 (1.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 21722 bytes 1549133 (1.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 21722 bytes 1549133 (1.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 12001 bytes 7105074 (7.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 23569 bytes 1846274 (1.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 21836 bytes 1557475 (1.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 21836 bytes 1557475 (1.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 12057 bytes 7134604 (7.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 23709 bytes 1857619 (1.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 21956 bytes 1566257 (1.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 21956 bytes 1566257 (1.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 12101 bytes 7163260 (7.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 23825 bytes 1866918 (1.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 22028 bytes 1571267 (1.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 22028 bytes 1571267 (1.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 12145 bytes 7191916 (7.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 23899 bytes 1872541 (1.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 22100 bytes 1576277 (1.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 22100 bytes 1576277 (1.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 12189 bytes 7220572 (7.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 23970 bytes 1877904 (1.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 22172 bytes 1581287 (1.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 22172 bytes 1581287 (1.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 12241 bytes 7250213 (7.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 24060 bytes 1884970 (1.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 22262 bytes 1587743 (1.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 22262 bytes 1587743 (1.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 12287 bytes 7278925 (7.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 24144 bytes 1891415 (1.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 22334 bytes 1592753 (1.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 22334 bytes 1592753 (1.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 12333 bytes 7307637 (7.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 24217 bytes 1896862 (1.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 22406 bytes 1597763 (1.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 22406 bytes 1597763 (1.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 12385 bytes 7336892 (7.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 24318 bytes 1904415 (1.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 22496 bytes 1603967 (1.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 22496 bytes 1603967 (1.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 12431 bytes 7365604 (7.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 24424 bytes 1912344 (1.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 22568 bytes 1608977 (1.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 22568 bytes 1608977 (1.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 12483 bytes 7395245 (7.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 24516 bytes 1919623 (1.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 22658 bytes 1615433 (1.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 22658 bytes 1615433 (1.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 12542 bytes 7425104 (7.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 24667 bytes 1931981 (1.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 22802 bytes 1626101 (1.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 22802 bytes 1626101 (1.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 12586 bytes 7453760 (7.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 24780 bytes 1941013 (1.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 22874 bytes 1631111 (1.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 22874 bytes 1631111 (1.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 12630 bytes 7482416 (7.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 24850 bytes 1946306 (1.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 22946 bytes 1636121 (1.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 22946 bytes 1636121 (1.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 12674 bytes 7511072 (7.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 24921 bytes 1951669 (1.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 23018 bytes 1641131 (1.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 23018 bytes 1641131 (1.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 12726 bytes 7540713 (7.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 25012 bytes 1958816 (1.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 23108 bytes 1647587 (1.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 23108 bytes 1647587 (1.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 12771 bytes 7569397 (7.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 25096 bytes 1965289 (1.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 23180 bytes 1652597 (1.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 23180 bytes 1652597 (1.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 12815 bytes 7598053 (7.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 25168 bytes 1970722 (1.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 23252 bytes 1657607 (1.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 23252 bytes 1657607 (1.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 12859 bytes 7626709 (7.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 25238 bytes 1976004 (1.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 23324 bytes 1662617 (1.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 23324 bytes 1662617 (1.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 12903 bytes 7655365 (7.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 25307 bytes 1981216 (1.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 23396 bytes 1667627 (1.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 23396 bytes 1667627 (1.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 12955 bytes 7685006 (7.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 25396 bytes 1988193 (1.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 23486 bytes 1674083 (1.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 23486 bytes 1674083 (1.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 13014 bytes 7714865 (7.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 25545 bytes 2000359 (2.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 23630 bytes 1684751 (1.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 23630 bytes 1684751 (1.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 13058 bytes 7743521 (7.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 25663 bytes 2009823 (2.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 23702 bytes 1689761 (1.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 23702 bytes 1689761 (1.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 13102 bytes 7772177 (7.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 25733 bytes 2015105 (2.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 23774 bytes 1694771 (1.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 23774 bytes 1694771 (1.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 13146 bytes 7800833 (7.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 25803 bytes 2020398 (2.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 23846 bytes 1699781 (1.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 23846 bytes 1699781 (1.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 13198 bytes 7830474 (7.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 25892 bytes 2027394 (2.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 23936 bytes 1706237 (1.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 23936 bytes 1706237 (1.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 13244 bytes 7859186 (7.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 25977 bytes 2033909 (2.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 24008 bytes 1711247 (1.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 24008 bytes 1711247 (1.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 13281 bytes 7887402 (7.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 26026 bytes 2037653 (2.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 24056 bytes 1714521 (1.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 24056 bytes 1714521 (1.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 13329 bytes 7916237 (7.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 26102 bytes 2043314 (2.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 24134 bytes 1719965 (1.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 24134 bytes 1719965 (1.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 13374 bytes 7944921 (7.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 26172 bytes 2048579 (2.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 24206 bytes 1724975 (1.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 24206 bytes 1724975 (1.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 13431 bytes 7974947 (7.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 26271 bytes 2056377 (2.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 24320 bytes 1733317 (1.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 24320 bytes 1733317 (1.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 13488 bytes 8004505 (8.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 26411 bytes 2067691 (2.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 24440 bytes 1742099 (1.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 24440 bytes 1742099 (1.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 13533 bytes 8033189 (8.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 26531 bytes 2077284 (2.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 24512 bytes 1747109 (1.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 24512 bytes 1747109 (1.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 13579 bytes 8061901 (8.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 26603 bytes 2082650 (2.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 24584 bytes 1752119 (1.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 24584 bytes 1752119 (1.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 13624 bytes 8090585 (8.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 26674 bytes 2087974 (2.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 24656 bytes 1757129 (1.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 24656 bytes 1757129 (1.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 13676 bytes 8120226 (8.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 26764 bytes 2095051 (2.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 24746 bytes 1763585 (1.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 24746 bytes 1763585 (1.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 13721 bytes 8148910 (8.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 26846 bytes 2101373 (2.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 24818 bytes 1768595 (1.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 24818 bytes 1768595 (1.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 13766 bytes 8177594 (8.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 26918 bytes 2106778 (2.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 24890 bytes 1773605 (1.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 24890 bytes 1773605 (1.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 13812 bytes 8206361 (8.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 26990 bytes 2112183 (2.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 24968 bytes 1779049 (1.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 24968 bytes 1779049 (1.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 13856 bytes 8234962 (8.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 27061 bytes 2117507 (2.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 25034 bytes 1783625 (1.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 25034 bytes 1783625 (1.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 13908 bytes 8264603 (8.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 27151 bytes 2124573 (2.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 25124 bytes 1790081 (1.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 25124 bytes 1790081 (1.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 13967 bytes 8294462 (8.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 27303 bytes 2137026 (2.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 25268 bytes 1800749 (1.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 25268 bytes 1800749 (1.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 14012 bytes 8323194 (8.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 27407 bytes 2145411 (2.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 25346 bytes 1806151 (1.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 25346 bytes 1806151 (1.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 14061 bytes 8352317 (8.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 27514 bytes 2153513 (2.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 25434 bytes 1812231 (1.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 25434 bytes 1812231 (1.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 14105 bytes 8380973 (8.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 27611 bytes 2160795 (2.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 25502 bytes 1816973 (1.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 25502 bytes 1816973 (1.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 14159 bytes 8410670 (8.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 27713 bytes 2168710 (2.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 25592 bytes 1823429 (1.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 25592 bytes 1823429 (1.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 14204 bytes 8439354 (8.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 27795 bytes 2175024 (2.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 25664 bytes 1828439 (1.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 25664 bytes 1828439 (1.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 14250 bytes 8468066 (8.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 27869 bytes 2180549 (2.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 25736 bytes 1833449 (1.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 25736 bytes 1833449 (1.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 14294 bytes 8496722 (8.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 27939 bytes 2185842 (2.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 25808 bytes 1838459 (1.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 25808 bytes 1838459 (1.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 14340 bytes 8525434 (8.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 28013 bytes 2191359 (2.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 25880 bytes 1843469 (1.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 25880 bytes 1843469 (1.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 14391 bytes 8555047 (8.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 28102 bytes 2198383 (2.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 25970 bytes 1849925 (1.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 25970 bytes 1849925 (1.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 14452 bytes 8584962 (8.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 28251 bytes 2210457 (2.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 26114 bytes 1860593 (1.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 26114 bytes 1860593 (1.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 14496 bytes 8613618 (8.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 28369 bytes 2219938 (2.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 26186 bytes 1865603 (1.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 26186 bytes 1865603 (1.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 14540 bytes 8642274 (8.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 28439 bytes 2225220 (2.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 26258 bytes 1870613 (1.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 26258 bytes 1870613 (1.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 14584 bytes 8670930 (8.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 28509 bytes 2230502 (2.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 26330 bytes 1875623 (1.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 26330 bytes 1875623 (1.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 14636 bytes 8700571 (8.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 28599 bytes 2237579 (2.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 26420 bytes 1882079 (1.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 26420 bytes 1882079 (1.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 14682 bytes 8729283 (8.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 28684 bytes 2244094 (2.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 26492 bytes 1887089 (1.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 26492 bytes 1887089 (1.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 14728 bytes 8758050 (8.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 28755 bytes 2249429 (2.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 26570 bytes 1892533 (1.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 26570 bytes 1892533 (1.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 14776 bytes 8786940 (8.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 28830 bytes 2255070 (2.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 26654 bytes 1898411 (1.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 26654 bytes 1898411 (1.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 14821 bytes 8815624 (8.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 28891 bytes 2259694 (2.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 26726 bytes 1903421 (1.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 26726 bytes 1903421 (1.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 14873 bytes 8845265 (8.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 28981 bytes 2266760 (2.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 26816 bytes 1909877 (1.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 26816 bytes 1909877 (1.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 14932 bytes 8875179 (8.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 29132 bytes 2279152 (2.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 26966 bytes 1920979 (1.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 26966 bytes 1920979 (1.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 14975 bytes 8903752 (8.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 29244 bytes 2288108 (2.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 27032 bytes 1925555 (1.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 27032 bytes 1925555 (1.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 15019 bytes 8932408 (8.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 29311 bytes 2293147 (2.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 27104 bytes 1930565 (1.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 27104 bytes 1930565 (1.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 15063 bytes 8961064 (8.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 29382 bytes 2298510 (2.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 27176 bytes 1935575 (1.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 27176 bytes 1935575 (1.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 15116 bytes 8990733 (8.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 29473 bytes 2305629 (2.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 27266 bytes 1942031 (1.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 27266 bytes 1942031 (1.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 15161 bytes 9019417 (9.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 29557 bytes 2312102 (2.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 27338 bytes 1947041 (1.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 27338 bytes 1947041 (1.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 15205 bytes 9048073 (9.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 29627 bytes 2317384 (2.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 27410 bytes 1952051 (1.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 27410 bytes 1952051 (1.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 15249 bytes 9076729 (9.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 29697 bytes 2322666 (2.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 27482 bytes 1957061 (1.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 27482 bytes 1957061 (1.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 15293 bytes 9105385 (9.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 29767 bytes 2327959 (2.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 27554 bytes 1962071 (1.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 27554 bytes 1962071 (1.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 15345 bytes 9135026 (9.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 29858 bytes 2335095 (2.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 27644 bytes 1968527 (1.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 27644 bytes 1968527 (1.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 15407 bytes 9164969 (9.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 30008 bytes 2347217 (2.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 27788 bytes 1979195 (1.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 27788 bytes 1979195 (1.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 15452 bytes 9193653 (9.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 30127 bytes 2356723 (2.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 27860 bytes 1984205 (1.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 27860 bytes 1984205 (1.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 15497 bytes 9222337 (9.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 30198 bytes 2362047 (2.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 27932 bytes 1989215 (1.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 27932 bytes 1989215 (1.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 15542 bytes 9251021 (9.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 30271 bytes 2367533 (2.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 28004 bytes 1994225 (1.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 28004 bytes 1994225 (1.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 15594 bytes 9280662 (9.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 30360 bytes 2374529 (2.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 28094 bytes 2000681 (2.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 28094 bytes 2000681 (2.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 15638 bytes 9309318 (9.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 30443 bytes 2380960 (2.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 28166 bytes 2005691 (2.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 28166 bytes 2005691 (2.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 15685 bytes 9338182 (9.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 30518 bytes 2386607 (2.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 28244 bytes 2011093 (2.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 28244 bytes 2011093 (2.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 15734 bytes 9367229 (9.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 30614 bytes 2393880 (2.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 28328 bytes 2016905 (2.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 28328 bytes 2016905 (2.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 15779 bytes 9395913 (9.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 30720 bytes 2401837 (2.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 28400 bytes 2021915 (2.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 28400 bytes 2021915 (2.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 15832 bytes 9425582 (9.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 30819 bytes 2409586 (2.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 28494 bytes 2028671 (2.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 28494 bytes 2028671 (2.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 15892 bytes 9455469 (9.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 30966 bytes 2421480 (2.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 28634 bytes 2039039 (2.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 28634 bytes 2039039 (2.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 15936 bytes 9484125 (9.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 31083 bytes 2430921 (2.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 28710 bytes 2044317 (2.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 28710 bytes 2044317 (2.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 15980 bytes 9512781 (9.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 31153 bytes 2436203 (2.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 28778 bytes 2049059 (2.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 28778 bytes 2049059 (2.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 16024 bytes 9541437 (9.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 31223 bytes 2441485 (2.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 28850 bytes 2054069 (2.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 28850 bytes 2054069 (2.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 16076 bytes 9571078 (9.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 31314 bytes 2448632 (2.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 28940 bytes 2060525 (2.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 28940 bytes 2060525 (2.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 16121 bytes 9599762 (9.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 31393 bytes 2454711 (2.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 29012 bytes 2065535 (2.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 29012 bytes 2065535 (2.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 16163 bytes 9628240 (9.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 31462 bytes 2459880 (2.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 29072 bytes 2069677 (2.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 29072 bytes 2069677 (2.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 16211 bytes 9657130 (9.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 31536 bytes 2465451 (2.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 29156 bytes 2075555 (2.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 29156 bytes 2075555 (2.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 16255 bytes 9685786 (9.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 31596 bytes 2470033 (2.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 29228 bytes 2080565 (2.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 29228 bytes 2080565 (2.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 16312 bytes 9715812 (9.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 31696 bytes 2477920 (2.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 29342 bytes 2088907 (2.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 29342 bytes 2088907 (2.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 16368 bytes 9745342 (9.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 31836 bytes 2489265 (2.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 29462 bytes 2097689 (2.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 29462 bytes 2097689 (2.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 16412 bytes 9773998 (9.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 31954 bytes 2498735 (2.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 29534 bytes 2102699 (2.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 29534 bytes 2102699 (2.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 16456 bytes 9802654 (9.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 32025 bytes 2504098 (2.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 29606 bytes 2107709 (2.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 29606 bytes 2107709 (2.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 16500 bytes 9831310 (9.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 32096 bytes 2509461 (2.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 29678 bytes 2112719 (2.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 29678 bytes 2112719 (2.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 16552 bytes 9860951 (9.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 32185 bytes 2516457 (2.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 29768 bytes 2119175 (2.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 29768 bytes 2119175 (2.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 16597 bytes 9889635 (9.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 32268 bytes 2522860 (2.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 29840 bytes 2124185 (2.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 29840 bytes 2124185 (2.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 16641 bytes 9918291 (9.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 32338 bytes 2528142 (2.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 29912 bytes 2129195 (2.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 29912 bytes 2129195 (2.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 16685 bytes 9946947 (9.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 32409 bytes 2533494 (2.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 29984 bytes 2134205 (2.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 29984 bytes 2134205 (2.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 16729 bytes 9975603 (9.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 32479 bytes 2538787 (2.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 30056 bytes 2139215 (2.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 30056 bytes 2139215 (2.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 16785 bytes 10005601 (10.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 32578 bytes 2546613 (2.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 30170 bytes 2147557 (2.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 30170 bytes 2147557 (2.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 16842 bytes 10035159 (10.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 32719 bytes 2558025 (2.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 30290 bytes 2156339 (2.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 30290 bytes 2156339 (2.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 16887 bytes 10063843 (10.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 32828 bytes 2566831 (2.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 30366 bytes 2161617 (2.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 30366 bytes 2161617 (2.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 16931 bytes 10092499 (10.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 32899 bytes 2572194 (2.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 30438 bytes 2166627 (2.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 30438 bytes 2166627 (2.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 16975 bytes 10121155 (10.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 32969 bytes 2577476 (2.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 30506 bytes 2171369 (2.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 30506 bytes 2171369 (2.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 17026 bytes 10150768 (10.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 33057 bytes 2584430 (2.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 30596 bytes 2177825 (2.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 30596 bytes 2177825 (2.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 17072 bytes 10179480 (10.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 33142 bytes 2590945 (2.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 30668 bytes 2182835 (2.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 30668 bytes 2182835 (2.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 17118 bytes 10208247 (10.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 33215 bytes 2596431 (2.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 30746 bytes 2188279 (2.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 30746 bytes 2188279 (2.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 17162 bytes 10236848 (10.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 33285 bytes 2601685 (2.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 30812 bytes 2192855 (2.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 30812 bytes 2192855 (2.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 17207 bytes 10265532 (10.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 33346 bytes 2606309 (2.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 30886 bytes 2197999 (2.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 30886 bytes 2197999 (2.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 17259 bytes 10295173 (10.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 33436 bytes 2613356 (2.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 30974 bytes 2204321 (2.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 30974 bytes 2204321 (2.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 17321 bytes 10325116 (10.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 33585 bytes 2625413 (2.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 31118 bytes 2214989 (2.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 31118 bytes 2214989 (2.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 17368 bytes 10353980 (10.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 33710 bytes 2635400 (2.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 31196 bytes 2220391 (2.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 31196 bytes 2220391 (2.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 17417 bytes 10383027 (10.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 33815 bytes 2643281 (2.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 31280 bytes 2226203 (2.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 31280 bytes 2226203 (2.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 17462 bytes 10411711 (10.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 33919 bytes 2651087 (2.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 31352 bytes 2231213 (2.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 31352 bytes 2231213 (2.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 17514 bytes 10441352 (10.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 34012 bytes 2658383 (2.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 31442 bytes 2237669 (2.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 31442 bytes 2237669 (2.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 17557 bytes 10469980 (10.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 34094 bytes 2664772 (2.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 31514 bytes 2242679 (2.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 31514 bytes 2242679 (2.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 17602 bytes 10498719 (10.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 34167 bytes 2670305 (2.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 31592 bytes 2248123 (2.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 31592 bytes 2248123 (2.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 17649 bytes 10527581 (10.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 34240 bytes 2675823 (2.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 31676 bytes 2254001 (2.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 31676 bytes 2254001 (2.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 17693 bytes 10556237 (10.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 34310 bytes 2681116 (2.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 31748 bytes 2259011 (2.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 31748 bytes 2259011 (2.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 17746 bytes 10585906 (10.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 34402 bytes 2688286 (2.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 31838 bytes 2265467 (2.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 31838 bytes 2265467 (2.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 17807 bytes 10615821 (10.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 34549 bytes 2700190 (2.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 31982 bytes 2276135 (2.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 31982 bytes 2276135 (2.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 17852 bytes 10644505 (10.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 34672 bytes 2710042 (2.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 32054 bytes 2281145 (2.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 32054 bytes 2281145 (2.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 17897 bytes 10673189 (10.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 34743 bytes 2715366 (2.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 32126 bytes 2286155 (2.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 32126 bytes 2286155 (2.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 17942 bytes 10701873 (10.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 34813 bytes 2720620 (2.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 32198 bytes 2291165 (2.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 32198 bytes 2291165 (2.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 17994 bytes 10731514 (10.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 34903 bytes 2727686 (2.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 32288 bytes 2297621 (2.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 32288 bytes 2297621 (2.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 18040 bytes 10760226 (10.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 34987 bytes 2734131 (2.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 32360 bytes 2302631 (2.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 32360 bytes 2302631 (2.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 18085 bytes 10788910 (10.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 35059 bytes 2739536 (2.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 32432 bytes 2307641 (2.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 32432 bytes 2307641 (2.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 18130 bytes 10817594 (10.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 35131 bytes 2744930 (2.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 32504 bytes 2312651 (2.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 32504 bytes 2312651 (2.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 18175 bytes 10846278 (10.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 35202 bytes 2750265 (2.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 32576 bytes 2317661 (2.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 32576 bytes 2317661 (2.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 18228 bytes 10876002 (10.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 35293 bytes 2757412 (2.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 32672 bytes 2324551 (2.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 32672 bytes 2324551 (2.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 18286 bytes 10905778 (10.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 35439 bytes 2769348 (2.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 32810 bytes 2334785 (2.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 32810 bytes 2334785 (2.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 18330 bytes 10934434 (10.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 35546 bytes 2778021 (2.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 32882 bytes 2339795 (2.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 32882 bytes 2339795 (2.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 18374 bytes 10963090 (10.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 35616 bytes 2783303 (2.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 32954 bytes 2344805 (2.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 32954 bytes 2344805 (2.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 18418 bytes 10991746 (10.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 35683 bytes 2788342 (2.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 33026 bytes 2349815 (2.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 33026 bytes 2349815 (2.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 18471 bytes 11021415 (11.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 35775 bytes 2795531 (2.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 33116 bytes 2356271 (2.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 33116 bytes 2356271 (2.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 18514 bytes 11050043 (11.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 35856 bytes 2801831 (2.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 33188 bytes 2361281 (2.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 33188 bytes 2361281 (2.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 18558 bytes 11078699 (11.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 35928 bytes 2807283 (2.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 33260 bytes 2366291 (2.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 33260 bytes 2366291 (2.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 18602 bytes 11107355 (11.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 35998 bytes 2812576 (2.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 33332 bytes 2371301 (2.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 33332 bytes 2371301 (2.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 18646 bytes 11136011 (11.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 36068 bytes 2817869 (2.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 33404 bytes 2376311 (2.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 33404 bytes 2376311 (2.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 18698 bytes 11165652 (11.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 36159 bytes 2825016 (2.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 33494 bytes 2382767 (2.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 33494 bytes 2382767 (2.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 18759 bytes 11195567 (11.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 36313 bytes 2837534 (2.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 33638 bytes 2393435 (2.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 33638 bytes 2393435 (2.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 18804 bytes 11224251 (11.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 36426 bytes 2846532 (2.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 33710 bytes 2398445 (2.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 33710 bytes 2398445 (2.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 18849 bytes 11252935 (11.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 36487 bytes 2851156 (2.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 33782 bytes 2403455 (2.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 33782 bytes 2403455 (2.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 18894 bytes 11281619 (11.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 36559 bytes 2856561 (2.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 33854 bytes 2408465 (2.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 33854 bytes 2408465 (2.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 18946 bytes 11311260 (11.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 36651 bytes 2863789 (2.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 33944 bytes 2414921 (2.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 33944 bytes 2414921 (2.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 18991 bytes 11339944 (11.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 36735 bytes 2870262 (2.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 34016 bytes 2419931 (2.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 34016 bytes 2419931 (2.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 19032 bytes 11368389 (11.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 36807 bytes 2875638 (2.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 34070 bytes 2423555 (2.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 34070 bytes 2423555 (2.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 19082 bytes 11397538 (11.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 36915 bytes 2883818 (2.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 34160 bytes 2429843 (2.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 34160 bytes 2429843 (2.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 19126 bytes 11426194 (11.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 37016 bytes 2891434 (2.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 34232 bytes 2434853 (2.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 34232 bytes 2434853 (2.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 19178 bytes 11455835 (11.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 37097 bytes 2897865 (2.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 34322 bytes 2441309 (2.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 34322 bytes 2441309 (2.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 19238 bytes 11485722 (11.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 37249 bytes 2910265 (2.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 34466 bytes 2451977 (2.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 34466 bytes 2451977 (2.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 19282 bytes 11514378 (11.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 37364 bytes 2919467 (2.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 34538 bytes 2456987 (2.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 34538 bytes 2456987 (2.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 19326 bytes 11543034 (11.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 37434 bytes 2924749 (2.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 34610 bytes 2461997 (2.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 34610 bytes 2461997 (2.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 19370 bytes 11571690 (11.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 37504 bytes 2930031 (2.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 34682 bytes 2467007 (2.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 34682 bytes 2467007 (2.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 19422 bytes 11601331 (11.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 37595 bytes 2937189 (2.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 34772 bytes 2473463 (2.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 34772 bytes 2473463 (2.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 19465 bytes 11629959 (11.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 37677 bytes 2943578 (2.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 34844 bytes 2478473 (2.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 34844 bytes 2478473 (2.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 19509 bytes 11658615 (11.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 37747 bytes 2948860 (2.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 34916 bytes 2483483 (2.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 34916 bytes 2483483 (2.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 19553 bytes 11687271 (11.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 37817 bytes 2954153 (2.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 34988 bytes 2488493 (2.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 34988 bytes 2488493 (2.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 19597 bytes 11715927 (11.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 37873 bytes 2958411 (2.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 35060 bytes 2493503 (2.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 35060 bytes 2493503 (2.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 19650 bytes 11745596 (11.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 37965 bytes 2965600 (2.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 35150 bytes 2499959 (2.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 35150 bytes 2499959 (2.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 19708 bytes 11775427 (11.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 38113 bytes 2977745 (2.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 35294 bytes 2510627 (2.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 35294 bytes 2510627 (2.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 19752 bytes 11804083 (11.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 38229 bytes 2987029 (2.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 35366 bytes 2515637 (2.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 35366 bytes 2515637 (2.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 19796 bytes 11832739 (11.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 38299 bytes 2992322 (2.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 35438 bytes 2520647 (2.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 35438 bytes 2520647 (2.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 19840 bytes 11861395 (11.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 38370 bytes 2997685 (2.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 35510 bytes 2525657 (2.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 35510 bytes 2525657 (2.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 19893 bytes 11891064 (11.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 38461 bytes 3004804 (3.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 35600 bytes 2532113 (2.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 35600 bytes 2532113 (2.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 19936 bytes 11919692 (11.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 38544 bytes 3011263 (3.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 35672 bytes 2537123 (2.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 35672 bytes 2537123 (2.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 19982 bytes 11948404 (11.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 38616 bytes 3016640 (3.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 35744 bytes 2542133 (2.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 35744 bytes 2542133 (2.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 20027 bytes 11977088 (11.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 38688 bytes 3022034 (3.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 35816 bytes 2547143 (2.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 35816 bytes 2547143 (2.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 20072 bytes 12005772 (12.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 38759 bytes 3027369 (3.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 35888 bytes 2552153 (2.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 35888 bytes 2552153 (2.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 20124 bytes 12035413 (12.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 38849 bytes 3034427 (3.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 35978 bytes 2558609 (2.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 35978 bytes 2558609 (2.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 20184 bytes 12065276 (12.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 39000 bytes 3046699 (3.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 36122 bytes 2569277 (2.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 36122 bytes 2569277 (2.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 20227 bytes 12093904 (12.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 39114 bytes 3055867 (3.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 36194 bytes 2574287 (2.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 36194 bytes 2574287 (2.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 20271 bytes 12122560 (12.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 39184 bytes 3061149 (3.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 36266 bytes 2579297 (2.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 36266 bytes 2579297 (2.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 20316 bytes 12151244 (12.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 39246 bytes 3065854 (3.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 36338 bytes 2584307 (2.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 36338 bytes 2584307 (2.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 20368 bytes 12180885 (12.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 39337 bytes 3073001 (3.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 36428 bytes 2590763 (2.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 36428 bytes 2590763 (2.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 20414 bytes 12209597 (12.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 39422 bytes 3079516 (3.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 36500 bytes 2595773 (2.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 36500 bytes 2595773 (2.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 20462 bytes 12238420 (12.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 39496 bytes 3085016 (3.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 36578 bytes 2601217 (2.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 36578 bytes 2601217 (2.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 20510 bytes 12267310 (12.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 39571 bytes 3090657 (3.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 36662 bytes 2607095 (2.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 36662 bytes 2607095 (2.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 20556 bytes 12296022 (12.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 39643 bytes 3096023 (3.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 36734 bytes 2612105 (2.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 36734 bytes 2612105 (2.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 20610 bytes 12325719 (12.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 39734 bytes 3103095 (3.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 36824 bytes 2618561 (2.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 36824 bytes 2618561 (2.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 20671 bytes 12355634 (12.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 39884 bytes 3115285 (3.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 36968 bytes 2629229 (2.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 36968 bytes 2629229 (2.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 20720 bytes 12384678 (12.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 40015 bytes 3125694 (3.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 37052 bytes 2635023 (2.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 37052 bytes 2635023 (2.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 20767 bytes 12413545 (12.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 40122 bytes 3133730 (3.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 37130 bytes 2640443 (2.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 37130 bytes 2640443 (2.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 20812 bytes 12442229 (12.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 40222 bytes 3141247 (3.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 37202 bytes 2645453 (2.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 37202 bytes 2645453 (2.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 20864 bytes 12471870 (12.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 40314 bytes 3148460 (3.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 37292 bytes 2651909 (2.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 37292 bytes 2651909 (2.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 20909 bytes 12500554 (12.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 40393 bytes 3154539 (3.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 37364 bytes 2656919 (2.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 37364 bytes 2656919 (2.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 20954 bytes 12529238 (12.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 40455 bytes 3159244 (3.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 37436 bytes 2661929 (2.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 37436 bytes 2661929 (2.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 20999 bytes 12557922 (12.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 40527 bytes 3164649 (3.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 37508 bytes 2666939 (2.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 37508 bytes 2666939 (2.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 21045 bytes 12586634 (12.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 40600 bytes 3170096 (3.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 37580 bytes 2671949 (2.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 37580 bytes 2671949 (2.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 21097 bytes 12616275 (12.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 40690 bytes 3177162 (3.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 37670 bytes 2678405 (2.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 37670 bytes 2678405 (2.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 21157 bytes 12646162 (12.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 40840 bytes 3189389 (3.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 37814 bytes 2689073 (2.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 37814 bytes 2689073 (2.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 21202 bytes 12674846 (12.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 40957 bytes 3198717 (3.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 37886 bytes 2694083 (2.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 37886 bytes 2694083 (2.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 21247 bytes 12703530 (12.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 41027 bytes 3203971 (3.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 37958 bytes 2699093 (2.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 37958 bytes 2699093 (2.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 21292 bytes 12732214 (12.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 41098 bytes 3209306 (3.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 38030 bytes 2704103 (2.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 38030 bytes 2704103 (2.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 21345 bytes 12761883 (12.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 41191 bytes 3216576 (3.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 38120 bytes 2710559 (2.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 38120 bytes 2710559 (2.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 21389 bytes 12790539 (12.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 41264 bytes 3222307 (3.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 38192 bytes 2715569 (2.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 38192 bytes 2715569 (2.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 21435 bytes 12819251 (12.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 41337 bytes 3227754 (3.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 38264 bytes 2720579 (2.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 38264 bytes 2720579 (2.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 21480 bytes 12847990 (12.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 41408 bytes 3233117 (3.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 38342 bytes 2726023 (2.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 38342 bytes 2726023 (2.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 21524 bytes 12876591 (12.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 41478 bytes 3238360 (3.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 38408 bytes 2730599 (2.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 38408 bytes 2730599 (2.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 21575 bytes 12906204 (12.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 41567 bytes 3245395 (3.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 38498 bytes 2737055 (2.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 38498 bytes 2737055 (2.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 21637 bytes 12936147 (12.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 41717 bytes 3257511 (3.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 38642 bytes 2747723 (2.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 38642 bytes 2747723 (2.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 21683 bytes 12964859 (12.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 41833 bytes 3266733 (3.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 38714 bytes 2752733 (2.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 38714 bytes 2752733 (2.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 21729 bytes 12993571 (12.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 41910 bytes 3272512 (3.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 38786 bytes 2757743 (2.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 38786 bytes 2757743 (2.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 21775 bytes 13022283 (13.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 41982 bytes 3277889 (3.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 38858 bytes 2762753 (2.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 38858 bytes 2762753 (2.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 21827 bytes 13051924 (13.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 42072 bytes 3284955 (3.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 38948 bytes 2769209 (2.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 38948 bytes 2769209 (2.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 21873 bytes 13080636 (13.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 42157 bytes 3291470 (3.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 39020 bytes 2774219 (2.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 39020 bytes 2774219 (2.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 21910 bytes 13108797 (13.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 42214 bytes 3295724 (3.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 39062 bytes 2777059 (2.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 39062 bytes 2777059 (2.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 21958 bytes 13137687 (13.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 42289 bytes 3301365 (3.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 39146 bytes 2782937 (2.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 39146 bytes 2782937 (2.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 22003 bytes 13166371 (13.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 42350 bytes 3305989 (3.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 39218 bytes 2787947 (2.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 39218 bytes 2787947 (2.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 22056 bytes 13196040 (13.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 42441 bytes 3313089 (3.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 39308 bytes 2794403 (2.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 39308 bytes 2794403 (2.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 22115 bytes 13225899 (13.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 42589 bytes 3325207 (3.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 39452 bytes 2805071 (2.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 39452 bytes 2805071 (2.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 22161 bytes 13254666 (13.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 42708 bytes 3334691 (3.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 39530 bytes 2810515 (2.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 39530 bytes 2810515 (2.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 22205 bytes 13283267 (13.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 42777 bytes 3339864 (3.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 39596 bytes 2815091 (2.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 39596 bytes 2815091 (2.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 22250 bytes 13311951 (13.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 42849 bytes 3345280 (3.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 39668 bytes 2820101 (2.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 39668 bytes 2820101 (2.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 22304 bytes 13341648 (13.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 42941 bytes 3352430 (3.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 39758 bytes 2826557 (2.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 39758 bytes 2826557 (2.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 22347 bytes 13370276 (13.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 43014 bytes 3358200 (3.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 39830 bytes 2831567 (2.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 39830 bytes 2831567 (2.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 22396 bytes 13399371 (13.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 43103 bytes 3364933 (3.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 39920 bytes 2837771 (2.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 39920 bytes 2837771 (2.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 22441 bytes 13428131 (13.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 43207 bytes 3372780 (3.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 39992 bytes 2842781 (2.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 39992 bytes 2842781 (2.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 22485 bytes 13456787 (13.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 43303 bytes 3380033 (3.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 40064 bytes 2847791 (2.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 40064 bytes 2847791 (2.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 22537 bytes 13486428 (13.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 43393 bytes 3387099 (3.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 40154 bytes 2854247 (2.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 40154 bytes 2854247 (2.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 22596 bytes 13516287 (13.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 43545 bytes 3399525 (3.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 40298 bytes 2864915 (2.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 40298 bytes 2864915 (2.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 22641 bytes 13544971 (13.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 43659 bytes 3408612 (3.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 40374 bytes 2870193 (2.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 40374 bytes 2870193 (2.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 22685 bytes 13573627 (13.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 43728 bytes 3413813 (3.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 40442 bytes 2874935 (2.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 40442 bytes 2874935 (2.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 22729 bytes 13602283 (13.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 43798 bytes 3419106 (3.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 40514 bytes 2879945 (2.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 40514 bytes 2879945 (2.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 22781 bytes 13631924 (13.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 43889 bytes 3426253 (3.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 40604 bytes 2886401 (2.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 40604 bytes 2886401 (2.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 22825 bytes 13660580 (13.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 43971 bytes 3432595 (3.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 40676 bytes 2891411 (2.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 40676 bytes 2891411 (2.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 22871 bytes 13689292 (13.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 44035 bytes 3437431 (3.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 40748 bytes 2896421 (2.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 40748 bytes 2896421 (2.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 22916 bytes 13717976 (13.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 44107 bytes 3442825 (3.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 40820 bytes 2901431 (2.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 40820 bytes 2901431 (2.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 22961 bytes 13746660 (13.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 44178 bytes 3448160 (3.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 40892 bytes 2906441 (2.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 40892 bytes 2906441 (2.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 23013 bytes 13776301 (13.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 44268 bytes 3455226 (3.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 40982 bytes 2912897 (2.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 40982 bytes 2912897 (2.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 23073 bytes 13806188 (13.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 44413 bytes 3467018 (3.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 41126 bytes 2923565 (2.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 41126 bytes 2923565 (2.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 23117 bytes 13834844 (13.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 44529 bytes 3476334 (3.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 41198 bytes 2928575 (2.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 41198 bytes 2928575 (2.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 23162 bytes 13863528 (13.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 44601 bytes 3481739 (3.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 41270 bytes 2933585 (2.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 41270 bytes 2933585 (2.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 23207 bytes 13892212 (13.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 44672 bytes 3487074 (3.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 41342 bytes 2938595 (2.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 41342 bytes 2938595 (2.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 23260 bytes 13921881 (13.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 44764 bytes 3494255 (3.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 41432 bytes 2945051 (2.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 41432 bytes 2945051 (2.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 23304 bytes 13950537 (13.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 44844 bytes 3500446 (3.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 41504 bytes 2950061 (2.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 41504 bytes 2950061 (2.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 23349 bytes 13979276 (13.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 44920 bytes 3506230 (3.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 41586 bytes 2955773 (2.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 41586 bytes 2955773 (2.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 23396 bytes 14008138 (14.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 44982 bytes 3510967 (3.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 41666 bytes 2961383 (2.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 41666 bytes 2961383 (2.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 23440 bytes 14036794 (14.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 45053 bytes 3516330 (3.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 41738 bytes 2966393 (2.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 41738 bytes 2966393 (2.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 23495 bytes 14066701 (14.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 45151 bytes 3524094 (3.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 41850 bytes 2974553 (2.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 41850 bytes 2974553 (2.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 23552 bytes 14096322 (14.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 45294 bytes 3535671 (3.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 41972 bytes 2983517 (2.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 41972 bytes 2983517 (2.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 23595 bytes 14124950 (14.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 45409 bytes 3544948 (3.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 42044 bytes 2988527 (2.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 42044 bytes 2988527 (2.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 23639 bytes 14153606 (14.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 45481 bytes 3550392 (3.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 42116 bytes 2993537 (2.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 42116 bytes 2993537 (2.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 23683 bytes 14182262 (14.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 45551 bytes 3555674 (3.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 42188 bytes 2998547 (2.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 42188 bytes 2998547 (2.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 23736 bytes 14211931 (14.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 45642 bytes 3562774 (3.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 42278 bytes 3005003 (3.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 42278 bytes 3005003 (3.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 23778 bytes 14240531 (14.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 45721 bytes 3568951 (3.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 42350 bytes 3010013 (3.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 42350 bytes 3010013 (3.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 23823 bytes 14269215 (14.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 45796 bytes 3574615 (3.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 42422 bytes 3015023 (3.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 42422 bytes 3015023 (3.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 23868 bytes 14297954 (14.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 45867 bytes 3579989 (3.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 42500 bytes 3020467 (3.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 42500 bytes 3020467 (3.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 23911 bytes 14326527 (14.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 45937 bytes 3585271 (3.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 42566 bytes 3025043 (3.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 42566 bytes 3025043 (3.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 23963 bytes 14356168 (14.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 46026 bytes 3592267 (3.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 42656 bytes 3031499 (3.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 42656 bytes 3031499 (3.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 24025 bytes 14386111 (14.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 46178 bytes 3604534 (3.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 42800 bytes 3042167 (3.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 42800 bytes 3042167 (3.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 24075 bytes 14415310 (14.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 46317 bytes 3615615 (3.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 42890 bytes 3048371 (3.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 42890 bytes 3048371 (3.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 24120 bytes 14443994 (14.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 46425 bytes 3623720 (3.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 42962 bytes 3053381 (3.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 42962 bytes 3053381 (3.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 24165 bytes 14472678 (14.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 46517 bytes 3630639 (3.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 43034 bytes 3058391 (3.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 43034 bytes 3058391 (3.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 24218 bytes 14502347 (14.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 46608 bytes 3637747 (3.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 43124 bytes 3064847 (3.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 43124 bytes 3064847 (3.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 24262 bytes 14531003 (14.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 46690 bytes 3644108 (3.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 43196 bytes 3069857 (3.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 43196 bytes 3069857 (3.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 24309 bytes 14559798 (14.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 46764 bytes 3649625 (3.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 43274 bytes 3075301 (3.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 43274 bytes 3075301 (3.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 24353 bytes 14588399 (14.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 46834 bytes 3654868 (3.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 43340 bytes 3079877 (3.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 43340 bytes 3079877 (3.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 24398 bytes 14617083 (14.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 46906 bytes 3660273 (3.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 43412 bytes 3084887 (3.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 43412 bytes 3084887 (3.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 24450 bytes 14646724 (14.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 46996 bytes 3667350 (3.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 43502 bytes 3091343 (3.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 43502 bytes 3091343 (3.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 24512 bytes 14676667 (14.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 47147 bytes 3679528 (3.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 43646 bytes 3102011 (3.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 43646 bytes 3102011 (3.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 24557 bytes 14705351 (14.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 47266 bytes 3689059 (3.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 43718 bytes 3107021 (3.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 43718 bytes 3107021 (3.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 24602 bytes 14734035 (14.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 47340 bytes 3694615 (3.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 43794 bytes 3112299 (3.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 43794 bytes 3112299 (3.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 24647 bytes 14762719 (14.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 47410 bytes 3699869 (3.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 43862 bytes 3117041 (3.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 43862 bytes 3117041 (3.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 24699 bytes 14792360 (14.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 47500 bytes 3706935 (3.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 43952 bytes 3123497 (3.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 43952 bytes 3123497 (3.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 24743 bytes 14821016 (14.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 47582 bytes 3713285 (3.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 44024 bytes 3128507 (3.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 44024 bytes 3128507 (3.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 24779 bytes 14849149 (14.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 47639 bytes 3717578 (3.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 44066 bytes 3131347 (3.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 44066 bytes 3131347 (3.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 24826 bytes 14878011 (14.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 47714 bytes 3723258 (3.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 44153 bytes 3137426 (3.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 44153 bytes 3137426 (3.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 24870 bytes 14906667 (14.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 47773 bytes 3727759 (3.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 44222 bytes 3142235 (3.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 44222 bytes 3142235 (3.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 24923 bytes 14936336 (14.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 47865 bytes 3734929 (3.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 44312 bytes 3148691 (3.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 44312 bytes 3148691 (3.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 24981 bytes 14966167 (14.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 48013 bytes 3747091 (3.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 44456 bytes 3159359 (3.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 44456 bytes 3159359 (3.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 25025 bytes 14994823 (14.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 48129 bytes 3756377 (3.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 44528 bytes 3164369 (3.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 44528 bytes 3164369 (3.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 25069 bytes 15023479 (15.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 48199 bytes 3761670 (3.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 44600 bytes 3169379 (3.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 44600 bytes 3169379 (3.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 25113 bytes 15052135 (15.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 48271 bytes 3767103 (3.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 44672 bytes 3174389 (3.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 44672 bytes 3174389 (3.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 25166 bytes 15081804 (15.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 48361 bytes 3774133 (3.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 44762 bytes 3180845 (3.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 44762 bytes 3180845 (3.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 25209 bytes 15110487 (15.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 48442 bytes 3780480 (3.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 44840 bytes 3186289 (3.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 44840 bytes 3186289 (3.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 25251 bytes 15139032 (15.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 48511 bytes 3785739 (3.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 44906 bytes 3190865 (3.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 44906 bytes 3190865 (3.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 25295 bytes 15167688 (15.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 48582 bytes 3791091 (3.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 44978 bytes 3195875 (3.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 44978 bytes 3195875 (3.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 25339 bytes 15196344 (15.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 48652 bytes 3796384 (3.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 45050 bytes 3200885 (3.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 45050 bytes 3200885 (3.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 25396 bytes 15226370 (15.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 48752 bytes 3804260 (3.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 45164 bytes 3209227 (3.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 45164 bytes 3209227 (3.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 25450 bytes 15255844 (15.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 48893 bytes 3815765 (3.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 45284 bytes 3218009 (3.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 45284 bytes 3218009 (3.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 25495 bytes 15284528 (15.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 49010 bytes 3825103 (3.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 45356 bytes 3223019 (3.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 45356 bytes 3223019 (3.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 25539 bytes 15313184 (15.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 49080 bytes 3830385 (3.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 45428 bytes 3228029 (3.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 45428 bytes 3228029 (3.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 25584 bytes 15341868 (15.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 49151 bytes 3835720 (3.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 45500 bytes 3233039 (3.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 45500 bytes 3233039 (3.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 25637 bytes 15371592 (15.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 49243 bytes 3842948 (3.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 45596 bytes 3239929 (3.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 45596 bytes 3239929 (3.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 25681 bytes 15400193 (15.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 49325 bytes 3849270 (3.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 45662 bytes 3244505 (3.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 45662 bytes 3244505 (3.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 25733 bytes 15429448 (15.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 49422 bytes 3856553 (3.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 45752 bytes 3250709 (3.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 45752 bytes 3250709 (3.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 25778 bytes 15458132 (15.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 49519 bytes 3863877 (3.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 45824 bytes 3255719 (3.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 45824 bytes 3255719 (3.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 25822 bytes 15486788 (15.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 49607 bytes 3870518 (3.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 45896 bytes 3260729 (3.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 45896 bytes 3260729 (3.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 25879 bytes 15516814 (15.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 49707 bytes 3878405 (3.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 46010 bytes 3269071 (3.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 46010 bytes 3269071 (3.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 25936 bytes 15546372 (15.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 49849 bytes 3889897 (3.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 46130 bytes 3277853 (3.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 46130 bytes 3277853 (3.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 25981 bytes 15575056 (15.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 49966 bytes 3899223 (3.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 46202 bytes 3282863 (3.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 46202 bytes 3282863 (3.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 26025 bytes 15603712 (15.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 50035 bytes 3904435 (3.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 46274 bytes 3287873 (3.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 46274 bytes 3287873 (3.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 26069 bytes 15632368 (15.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 50102 bytes 3909474 (3.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 46346 bytes 3292883 (3.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 46346 bytes 3292883 (3.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 26121 bytes 15662009 (15.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 50192 bytes 3916551 (3.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 46436 bytes 3299339 (3.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 46436 bytes 3299339 (3.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 26165 bytes 15690665 (15.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 50275 bytes 3922982 (3.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 46508 bytes 3304349 (3.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 46508 bytes 3304349 (3.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 26210 bytes 15719404 (15.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 50337 bytes 3927726 (3.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 46586 bytes 3309793 (3.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 46586 bytes 3309793 (3.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 26257 bytes 15748266 (15.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 50411 bytes 3933314 (3.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 46670 bytes 3315671 (3.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 46670 bytes 3315671 (3.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 26301 bytes 15776922 (15.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 50481 bytes 3938607 (3.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 46742 bytes 3320681 (3.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 46742 bytes 3320681 (3.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 26357 bytes 15806920 (15.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 50578 bytes 3946282 (3.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 46856 bytes 3329023 (3.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 46856 bytes 3329023 (3.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 26414 bytes 15836478 (15.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 50721 bytes 3957839 (3.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 46976 bytes 3337805 (3.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 46976 bytes 3337805 (3.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 26459 bytes 15865162 (15.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 50840 bytes 3967351 (3.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 47048 bytes 3342815 (3.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 47048 bytes 3342815 (3.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 26504 bytes 15893846 (15.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 50911 bytes 3972686 (3.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 47120 bytes 3347825 (3.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 47120 bytes 3347825 (3.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 26549 bytes 15922530 (15.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 50981 bytes 3977940 (3.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 47192 bytes 3352835 (3.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 47192 bytes 3352835 (3.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 26601 bytes 15952171 (15.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 51073 bytes 3985168 (3.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 47282 bytes 3359291 (3.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 47282 bytes 3359291 (3.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 26646 bytes 15980855 (15.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 51147 bytes 3990941 (3.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 47354 bytes 3364301 (3.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 47354 bytes 3364301 (3.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 26691 bytes 16009539 (16.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 51220 bytes 3996416 (3.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 47426 bytes 3369311 (3.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 47426 bytes 3369311 (3.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 26736 bytes 16038223 (16.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 51290 bytes 4001670 (4.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 47498 bytes 3374321 (3.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 47498 bytes 3374321 (3.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 26781 bytes 16066907 (16.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 51361 bytes 4006994 (4.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 47570 bytes 3379331 (3.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 47570 bytes 3379331 (3.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 26838 bytes 16096933 (16.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 51460 bytes 4014792 (4.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 47684 bytes 3387673 (3.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 47684 bytes 3387673 (3.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 26895 bytes 16126491 (16.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 51602 bytes 4026246 (4.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 47804 bytes 3396455 (3.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 47804 bytes 3396455 (3.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 26939 bytes 16155202 (16.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 51718 bytes 4035615 (4.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 47882 bytes 3401899 (3.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 47882 bytes 3401899 (3.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 26982 bytes 16183775 (16.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 51788 bytes 4040897 (4.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 47948 bytes 3406475 (3.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 47948 bytes 3406475 (3.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 27026 bytes 16212431 (16.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 51859 bytes 4046260 (4.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 48020 bytes 3411485 (3.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 48020 bytes 3411485 (3.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 27079 bytes 16242100 (16.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 51949 bytes 4053298 (4.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 48110 bytes 3417941 (3.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 48110 bytes 3417941 (3.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 27122 bytes 16270728 (16.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 52031 bytes 4059687 (4.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 48182 bytes 3422951 (3.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 48182 bytes 3422951 (3.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 27168 bytes 16299440 (16.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 52104 bytes 4065134 (4.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 48258 bytes 3428229 (3.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 48258 bytes 3428229 (3.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 27212 bytes 16328096 (16.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 52173 bytes 4070346 (4.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 48326 bytes 3432971 (3.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 48326 bytes 3432971 (3.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 27256 bytes 16356752 (16.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 52240 bytes 4075374 (4.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 48398 bytes 3437981 (3.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 48398 bytes 3437981 (3.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 27311 bytes 16386722 (16.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 52337 bytes 4083088 (4.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 48512 bytes 3446323 (3.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 48512 bytes 3446323 (3.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 27369 bytes 16416308 (16.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 52482 bytes 4094769 (4.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 48632 bytes 3455105 (3.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 48632 bytes 3455105 (3.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 27420 bytes 16445535 (16.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 52629 bytes 4106397 (4.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 48722 bytes 3461309 (3.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 48722 bytes 3461309 (3.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 27466 bytes 16474247 (16.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 52735 bytes 4114315 (4.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 48794 bytes 3466319 (3.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 48794 bytes 3466319 (3.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 27511 bytes 16502931 (16.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 52821 bytes 4120784 (4.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 48866 bytes 3471329 (3.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 48866 bytes 3471329 (3.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 27563 bytes 16532572 (16.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 52910 bytes 4127780 (4.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 48956 bytes 3477785 (3.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 48956 bytes 3477785 (3.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 27609 bytes 16561284 (16.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 52994 bytes 4134214 (4.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 49028 bytes 3482795 (3.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 49028 bytes 3482795 (3.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 27650 bytes 16589734 (16.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 53051 bytes 4138560 (4.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 49088 bytes 3486937 (3.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 49088 bytes 3486937 (3.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 27698 bytes 16618624 (16.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 53127 bytes 4144271 (4.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 49172 bytes 3492815 (3.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 49172 bytes 3492815 (3.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 27744 bytes 16647336 (16.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 53199 bytes 4149648 (4.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 49244 bytes 3497825 (3.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 49244 bytes 3497825 (3.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 27797 bytes 16677005 (16.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 53290 bytes 4156748 (4.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 49334 bytes 3504281 (3.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 49334 bytes 3504281 (3.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 27859 bytes 16706948 (16.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 53439 bytes 4168802 (4.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 49478 bytes 3514949 (3.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 49478 bytes 3514949 (3.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 27905 bytes 16735715 (16.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 53560 bytes 4178476 (4.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 49556 bytes 3520393 (3.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 49556 bytes 3520393 (3.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 27949 bytes 16764316 (16.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 53630 bytes 4183730 (4.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 49622 bytes 3524969 (3.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 49622 bytes 3524969 (3.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 27995 bytes 16793028 (16.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 53703 bytes 4189166 (4.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 49694 bytes 3529979 (3.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 49694 bytes 3529979 (3.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 28047 bytes 16822669 (16.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 53792 bytes 4196154 (4.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 49784 bytes 3536435 (3.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 49784 bytes 3536435 (3.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 28092 bytes 16851353 (16.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 53876 bytes 4202599 (4.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 49856 bytes 3541445 (3.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 49856 bytes 3541445 (3.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 28137 bytes 16880037 (16.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 53948 bytes 4208051 (4.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 49928 bytes 3546455 (3.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 49928 bytes 3546455 (3.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 28181 bytes 16908693 (16.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 54008 bytes 4212633 (4.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 50000 bytes 3551465 (3.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 50000 bytes 3551465 (3.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 28225 bytes 16937349 (16.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 54079 bytes 4217985 (4.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 50072 bytes 3556475 (3.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 50072 bytes 3556475 (3.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 28280 bytes 16967319 (16.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 54176 bytes 4225710 (4.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 50186 bytes 3564817 (3.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 50186 bytes 3564817 (3.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 28338 bytes 16996905 (16.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 54320 bytes 4237304 (4.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 50306 bytes 3573599 (3.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 50306 bytes 3573599 (3.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 28381 bytes 17025533 (17.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 54431 bytes 4246251 (4.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 50378 bytes 3578609 (3.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 50378 bytes 3578609 (3.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 28425 bytes 17054189 (17.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 54503 bytes 4251684 (4.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 50450 bytes 3583619 (3.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 50450 bytes 3583619 (3.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 28469 bytes 17082845 (17.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 54573 bytes 4256977 (4.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 50522 bytes 3588629 (3.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 50522 bytes 3588629 (3.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 28521 bytes 17112486 (17.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 54663 bytes 4264054 (4.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 50612 bytes 3595085 (3.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 50612 bytes 3595085 (3.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 28565 bytes 17141142 (17.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 54746 bytes 4270485 (4.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 50684 bytes 3600095 (3.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 50684 bytes 3600095 (3.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 28608 bytes 17169770 (17.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 54816 bytes 4275806 (4.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 50756 bytes 3605105 (3.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 50756 bytes 3605105 (3.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 28653 bytes 17198509 (17.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 54887 bytes 4281169 (4.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 50834 bytes 3610549 (3.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 50834 bytes 3610549 (3.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 28696 bytes 17227082 (17.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 54957 bytes 4286451 (4.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 50900 bytes 3615125 (3.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 50900 bytes 3615125 (3.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 28749 bytes 17256751 (17.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 55047 bytes 4293470 (4.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 50990 bytes 3621581 (3.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 50990 bytes 3621581 (3.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 28808 bytes 17286610 (17.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 55199 bytes 4305901 (4.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 51134 bytes 3632249 (3.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 51134 bytes 3632249 (3.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 28853 bytes 17315294 (17.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 55312 bytes 4314910 (4.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 51206 bytes 3637259 (3.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 51206 bytes 3637259 (3.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 28897 bytes 17343950 (17.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 55383 bytes 4320273 (4.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 51278 bytes 3642269 (3.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 51278 bytes 3642269 (3.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 28941 bytes 17372606 (17.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 55453 bytes 4325566 (4.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 51350 bytes 3647279 (3.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 51350 bytes 3647279 (3.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 28993 bytes 17402247 (17.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 55543 bytes 4332632 (4.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 51440 bytes 3653735 (3.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 51440 bytes 3653735 (3.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 29037 bytes 17430903 (17.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 55625 bytes 4338982 (4.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 51512 bytes 3658745 (3.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 51512 bytes 3658745 (3.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 29090 bytes 17460296 (17.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 55722 bytes 4346360 (4.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 51614 bytes 3665817 (3.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 51614 bytes 3665817 (3.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 29138 bytes 17489131 (17.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 55830 bytes 4354437 (4.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 51692 bytes 3671261 (3.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 51692 bytes 3671261 (3.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 29184 bytes 17517843 (17.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 55914 bytes 4360712 (4.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 51764 bytes 3676271 (3.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 51764 bytes 3676271 (3.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 29237 bytes 17547512 (17.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 56004 bytes 4367750 (4.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 51854 bytes 3682727 (3.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 51854 bytes 3682727 (3.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 29299 bytes 17577455 (17.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 56158 bytes 4380221 (4.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 51998 bytes 3693395 (3.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 51998 bytes 3693395 (3.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 29345 bytes 17606167 (17.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 56274 bytes 4389431 (4.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 52070 bytes 3698405 (3.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 52070 bytes 3698405 (3.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 29390 bytes 17635141 (17.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 56341 bytes 4394742 (4.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 52142 bytes 3703415 (3.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 52142 bytes 3703415 (3.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 29434 bytes 17663797 (17.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 56402 bytes 4399405 (4.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 52214 bytes 3708425 (3.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 52214 bytes 3708425 (3.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 29486 bytes 17693438 (17.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 56493 bytes 4406552 (4.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 52304 bytes 3714881 (3.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 52304 bytes 3714881 (3.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 29531 bytes 17722122 (17.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 56576 bytes 4412936 (4.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 52376 bytes 3719891 (3.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 52376 bytes 3719891 (3.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 29575 bytes 17750778 (17.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 56647 bytes 4418318 (4.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 52448 bytes 3724901 (3.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 52448 bytes 3724901 (3.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 29620 bytes 17779462 (17.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 56719 bytes 4423723 (4.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 52520 bytes 3729911 (3.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 52520 bytes 3729911 (3.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 29665 bytes 17808146 (17.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 56790 bytes 4429047 (4.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 52592 bytes 3734921 (3.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 52592 bytes 3734921 (3.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 29718 bytes 17837815 (17.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 56880 bytes 4436085 (4.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 52682 bytes 3741377 (3.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 52682 bytes 3741377 (3.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 29778 bytes 17867702 (17.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 57030 bytes 4448310 (4.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 52826 bytes 3752045 (3.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 52826 bytes 3752045 (3.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 29824 bytes 17896414 (17.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 57147 bytes 4457601 (4.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 52898 bytes 3757055 (3.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 52898 bytes 3757055 (3.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 29870 bytes 17925181 (17.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 57209 bytes 4462306 (4.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 52976 bytes 3762499 (3.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 52976 bytes 3762499 (3.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 29914 bytes 17953782 (17.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 57280 bytes 4467630 (4.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 53042 bytes 3767075 (3.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 53042 bytes 3767075 (3.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 29967 bytes 17983506 (17.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 57372 bytes 4474858 (4.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 53138 bytes 3773965 (3.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 53138 bytes 3773965 (3.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 30012 bytes 18012135 (18.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 57454 bytes 4481141 (4.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 53204 bytes 3778541 (3.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 53204 bytes 3778541 (3.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 30056 bytes 18040791 (18.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 57525 bytes 4486504 (4.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 53276 bytes 3783551 (3.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 53276 bytes 3783551 (3.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 30100 bytes 18069447 (18.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 57595 bytes 4491786 (4.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 53348 bytes 3788561 (3.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 53348 bytes 3788561 (3.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 30144 bytes 18098103 (18.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 57665 bytes 4497079 (4.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 53420 bytes 3793571 (3.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 53420 bytes 3793571 (3.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 30195 bytes 18127716 (18.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 57754 bytes 4504103 (4.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 53510 bytes 3800027 (3.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 53510 bytes 3800027 (3.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 30256 bytes 18157631 (18.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 57903 bytes 4516166 (4.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 53654 bytes 3810695 (3.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 53654 bytes 3810695 (3.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 30299 bytes 18186259 (18.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 58017 bytes 4525351 (4.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 53726 bytes 3815705 (3.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 53726 bytes 3815705 (3.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 30343 bytes 18214915 (18.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 58088 bytes 4530714 (4.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 53798 bytes 3820715 (3.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 53798 bytes 3820715 (3.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 30387 bytes 18243571 (18.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 58158 bytes 4536007 (4.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 53870 bytes 3825725 (3.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 53870 bytes 3825725 (3.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 30439 bytes 18273212 (18.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 58248 bytes 4543065 (4.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 53960 bytes 3832181 (3.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 53960 bytes 3832181 (3.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 30483 bytes 18301868 (18.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 58329 bytes 4549337 (4.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 54032 bytes 3837191 (3.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 54032 bytes 3837191 (3.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 30520 bytes 18330029 (18.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 58392 bytes 4554082 (4.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 54074 bytes 3840031 (3.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 54074 bytes 3840031 (3.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 30566 bytes 18358863 (18.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 58466 bytes 4559709 (4.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 54158 bytes 3845909 (3.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 54158 bytes 3845909 (3.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 30611 bytes 18387547 (18.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 58537 bytes 4565044 (4.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 54230 bytes 3850919 (3.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 54230 bytes 3850919 (3.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 30663 bytes 18417188 (18.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 58627 bytes 4572110 (4.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 54320 bytes 3857375 (3.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 54320 bytes 3857375 (3.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 30724 bytes 18447151 (18.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 58779 bytes 4584479 (4.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 54470 bytes 3868435 (3.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 54470 bytes 3868435 (3.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 30773 bytes 18476329 (18.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 58930 bytes 4596468 (4.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 54560 bytes 3874681 (3.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 54560 bytes 3874681 (3.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 30818 bytes 18504958 (18.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 59034 bytes 4604239 (4.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 54626 bytes 3879257 (3.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 54626 bytes 3879257 (3.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 30862 bytes 18533614 (18.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 59103 bytes 4609505 (4.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 54698 bytes 3884267 (3.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 54698 bytes 3884267 (3.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 30916 bytes 18563311 (18.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 59196 bytes 4616736 (4.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 54788 bytes 3890723 (3.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 54788 bytes 3890723 (3.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 30960 bytes 18591967 (18.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 59279 bytes 4623167 (4.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 54860 bytes 3895733 (3.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 54860 bytes 3895733 (3.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 31005 bytes 18620651 (18.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 59349 bytes 4628421 (4.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 54932 bytes 3900743 (3.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 54932 bytes 3900743 (3.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 31049 bytes 18649307 (18.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 59419 bytes 4633703 (4.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 55004 bytes 3905753 (3.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 55004 bytes 3905753 (3.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 31093 bytes 18677963 (18.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 59490 bytes 4639066 (4.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 55076 bytes 3910763 (3.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 55076 bytes 3910763 (3.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 31145 bytes 18707604 (18.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 59579 bytes 4646062 (4.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 55166 bytes 3917219 (3.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 55166 bytes 3917219 (3.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 31206 bytes 18737519 (18.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 59729 bytes 4658229 (4.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 55310 bytes 3927887 (3.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 55310 bytes 3927887 (3.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 31251 bytes 18766203 (18.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 59844 bytes 4667405 (4.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 55382 bytes 3932897 (3.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 55382 bytes 3932897 (3.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 31294 bytes 18794831 (18.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 59913 bytes 4672656 (4.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 55454 bytes 3937907 (3.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 55454 bytes 3937907 (3.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 31339 bytes 18823515 (18.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 59985 bytes 4678061 (4.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 55526 bytes 3942917 (3.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 55526 bytes 3942917 (3.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 31391 bytes 18853156 (18.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 60075 bytes 4685108 (4.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 55616 bytes 3949373 (3.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 55616 bytes 3949373 (3.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 31434 bytes 18881784 (18.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 60155 bytes 4691346 (4.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 55688 bytes 3954383 (3.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 55688 bytes 3954383 (3.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 31480 bytes 18910496 (18.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 60230 bytes 4696952 (4.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 55760 bytes 3959393 (3.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 55760 bytes 3959393 (3.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 31523 bytes 18939124 (18.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 60298 bytes 4702122 (4.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 55832 bytes 3964403 (3.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 55832 bytes 3964403 (3.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 31567 bytes 18967780 (18.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 60358 bytes 4706704 (4.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 55904 bytes 3969413 (3.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 55904 bytes 3969413 (3.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 31620 bytes 18997449 (18.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 60450 bytes 4713893 (4.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 55994 bytes 3975869 (3.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 55994 bytes 3975869 (3.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 31682 bytes 19027392 (19.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 60600 bytes 4726031 (4.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 56138 bytes 3986537 (3.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 56138 bytes 3986537 (3.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 31726 bytes 19056048 (19.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 60719 bytes 4735571 (4.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 56210 bytes 3991547 (3.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 56210 bytes 3991547 (3.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 31772 bytes 19084760 (19.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 60790 bytes 4740867 (4.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 56282 bytes 3996557 (3.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 56282 bytes 3996557 (3.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 31815 bytes 19113388 (19.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 60860 bytes 4746188 (4.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 56354 bytes 4001567 (4.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 56354 bytes 4001567 (4.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 31867 bytes 19143029 (19.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 60951 bytes 4753335 (4.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 56444 bytes 4008023 (4.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 56444 bytes 4008023 (4.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 31912 bytes 19171713 (19.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 61034 bytes 4759738 (4.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 56516 bytes 4013033 (4.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 56516 bytes 4013033 (4.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 31958 bytes 19200480 (19.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 61107 bytes 4765224 (4.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 56594 bytes 4018477 (4.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 56594 bytes 4018477 (4.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 32005 bytes 19229342 (19.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 61182 bytes 4770893 (4.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 56682 bytes 4024623 (4.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 56682 bytes 4024623 (4.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 32050 bytes 19258026 (19.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 61252 bytes 4776136 (4.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 56750 bytes 4029365 (4.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 56750 bytes 4029365 (4.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 32107 bytes 19288052 (19.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 61353 bytes 4784104 (4.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 56868 bytes 4037975 (4.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 56868 bytes 4037975 (4.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 32163 bytes 19317582 (19.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 61489 bytes 4795136 (4.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 56984 bytes 4046489 (4.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 56984 bytes 4046489 (4.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 32208 bytes 19346266 (19.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 61599 bytes 4804029 (4.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 57056 bytes 4051499 (4.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 57056 bytes 4051499 (4.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 32255 bytes 19375061 (19.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 61673 bytes 4809557 (4.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 57134 bytes 4056943 (4.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 57134 bytes 4056943 (4.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 32300 bytes 19403690 (19.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 61740 bytes 4814518 (4.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 57200 bytes 4061519 (4.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 57200 bytes 4061519 (4.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 32354 bytes 19433442 (19.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 61833 bytes 4821788 (4.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 57296 bytes 4068409 (4.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 57296 bytes 4068409 (4.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 32401 bytes 19462251 (19.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 61919 bytes 4828375 (4.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 57368 bytes 4073377 (4.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 57368 bytes 4073377 (4.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 32451 bytes 19491326 (19.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 62030 bytes 4836704 (4.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 57452 bytes 4079189 (4.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 57452 bytes 4079189 (4.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 32496 bytes 19520010 (19.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 62132 bytes 4844362 (4.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 57524 bytes 4084199 (4.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 57524 bytes 4084199 (4.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 32540 bytes 19548666 (19.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 62208 bytes 4850111 (4.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 57596 bytes 4089209 (4.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 57596 bytes 4089209 (4.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 32595 bytes 19578636 (19.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 62305 bytes 4857825 (4.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 57710 bytes 4097551 (4.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 57710 bytes 4097551 (4.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 32653 bytes 19608222 (19.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 62450 bytes 4869495 (4.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 57830 bytes 4106333 (4.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 57830 bytes 4106333 (4.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 32696 bytes 19636850 (19.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 62566 bytes 4878833 (4.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 57902 bytes 4111343 (4.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 57902 bytes 4111343 (4.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 32739 bytes 19665478 (19.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 62637 bytes 4884243 (4.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 57974 bytes 4116353 (4.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 57974 bytes 4116353 (4.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 32783 bytes 19694134 (19.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 62707 bytes 4889536 (4.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 58046 bytes 4121363 (4.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 58046 bytes 4121363 (4.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 32836 bytes 19723803 (19.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 62800 bytes 4896795 (4.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 58136 bytes 4127819 (4.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 58136 bytes 4127819 (4.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 32879 bytes 19752431 (19.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 62881 bytes 4903114 (4.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 58208 bytes 4132829 (4.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 58208 bytes 4132829 (4.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 32923 bytes 19781087 (19.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 62942 bytes 4907777 (4.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 58280 bytes 4137839 (4.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 58280 bytes 4137839 (4.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 32968 bytes 19809771 (19.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 63014 bytes 4913182 (4.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 58352 bytes 4142849 (4.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 58352 bytes 4142849 (4.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 33014 bytes 19838483 (19.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 63086 bytes 4918548 (4.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 58424 bytes 4147859 (4.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 58424 bytes 4147859 (4.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 33071 bytes 19868509 (19.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 63185 bytes 4926346 (4.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 58538 bytes 4156201 (4.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 58538 bytes 4156201 (4.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 33128 bytes 19898122 (19.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 63330 bytes 4938122 (4.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 58664 bytes 4165417 (4.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 58664 bytes 4165417 (4.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 33173 bytes 19926751 (19.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 63444 bytes 4947161 (4.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 58730 bytes 4169993 (4.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 58730 bytes 4169993 (4.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 33218 bytes 19955435 (19.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 63517 bytes 4952658 (4.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 58802 bytes 4175003 (4.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 58802 bytes 4175003 (4.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 33264 bytes 19984147 (19.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 63590 bytes 4958105 (4.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 58874 bytes 4180013 (4.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 58874 bytes 4180013 (4.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 33316 bytes 20013788 (20.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 63681 bytes 4965263 (4.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 58964 bytes 4186469 (4.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 58964 bytes 4186469 (4.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 33360 bytes 20042444 (20.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 63764 bytes 4971694 (4.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 59036 bytes 4191479 (4.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 59036 bytes 4191479 (4.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 33402 bytes 20070922 (20.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 63832 bytes 4976793 (4.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 59096 bytes 4195621 (4.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 59096 bytes 4195621 (4.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 33449 bytes 20099784 (20.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 63907 bytes 4982462 (4.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 59180 bytes 4201499 (4.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 59180 bytes 4201499 (4.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 33494 bytes 20128468 (20.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 63979 bytes 4987867 (4.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 59252 bytes 4206509 (4.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 59252 bytes 4206509 (4.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 33551 bytes 20158494 (20.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 64078 bytes 4995665 (4.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 59366 bytes 4214851 (4.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 59366 bytes 4214851 (4.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 33607 bytes 20188024 (20.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 64221 bytes 5007250 (5.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 59490 bytes 4223901 (4.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 59490 bytes 4223901 (4.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 33652 bytes 20216708 (20.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 64340 bytes 5016762 (5.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 59558 bytes 4228643 (4.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 59558 bytes 4228643 (4.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 33698 bytes 20245420 (20.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 64413 bytes 5022209 (5.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 59630 bytes 4233653 (4.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 59630 bytes 4233653 (4.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 33743 bytes 20274104 (20.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 64484 bytes 5027533 (5.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 59702 bytes 4238663 (4.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 59702 bytes 4238663 (4.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 33796 bytes 20303773 (20.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 64575 bytes 5034652 (5.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 59792 bytes 4245119 (4.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 59792 bytes 4245119 (4.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 33842 bytes 20332485 (20.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 64659 bytes 5041086 (5.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 59864 bytes 4250129 (4.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 59864 bytes 4250129 (4.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 33888 bytes 20361197 (20.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 64732 bytes 5046544 (5.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 59936 bytes 4255139 (4.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 59936 bytes 4255139 (4.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 33932 bytes 20389853 (20.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 64803 bytes 5051896 (5.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 60008 bytes 4260149 (4.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 60008 bytes 4260149 (4.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 33978 bytes 20418620 (20.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 64874 bytes 5057231 (5.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 60086 bytes 4265593 (4.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 60086 bytes 4265593 (4.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 34032 bytes 20448507 (20.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 64970 bytes 5064853 (5.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 60194 bytes 4273501 (4.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 60194 bytes 4273501 (4.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 34091 bytes 20478245 (20.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 65118 bytes 5076785 (5.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 60320 bytes 4282675 (4.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 60320 bytes 4282675 (4.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 34138 bytes 20507236 (20.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 65272 bytes 5089013 (5.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 60404 bytes 4288487 (4.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 60404 bytes 4288487 (4.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 34182 bytes 20535892 (20.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 65374 bytes 5096707 (5.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 60476 bytes 4293497 (4.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 60476 bytes 4293497 (4.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 34226 bytes 20564548 (20.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 65450 bytes 5102448 (5.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 60548 bytes 4298507 (4.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 60548 bytes 4298507 (4.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 34278 bytes 20594189 (20.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 65539 bytes 5109444 (5.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 60638 bytes 4304963 (4.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 60638 bytes 4304963 (4.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 34323 bytes 20622873 (20.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 65623 bytes 5115917 (5.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 60710 bytes 4309973 (4.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 60710 bytes 4309973 (4.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 34368 bytes 20651557 (20.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 65693 bytes 5121171 (5.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 60782 bytes 4314983 (4.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 60782 bytes 4314983 (4.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 34412 bytes 20680213 (20.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 65763 bytes 5126453 (5.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 60854 bytes 4319993 (4.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 60854 bytes 4319993 (4.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 34457 bytes 20708897 (20.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 65835 bytes 5131858 (5.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 60926 bytes 4325003 (4.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 60926 bytes 4325003 (4.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 34510 bytes 20738566 (20.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 65917 bytes 5138347 (5.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 61016 bytes 4331459 (4.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 61016 bytes 4331459 (4.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 34570 bytes 20768453 (20.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 66067 bytes 5150576 (5.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 61160 bytes 4342127 (4.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 61160 bytes 4342127 (4.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 34615 bytes 20797192 (20.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 66183 bytes 5159860 (5.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 61238 bytes 4347571 (4.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 61238 bytes 4347571 (4.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 34659 bytes 20825793 (20.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 66250 bytes 5164860 (5.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 61304 bytes 4352147 (4.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 61304 bytes 4352147 (4.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 34703 bytes 20854449 (20.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 66320 bytes 5170153 (5.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 61376 bytes 4357157 (4.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 61376 bytes 4357157 (4.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 34755 bytes 20884090 (20.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 66411 bytes 5177281 (5.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 61466 bytes 4363613 (4.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 61466 bytes 4363613 (4.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 34799 bytes 20912746 (20.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 66494 bytes 5183712 (5.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 61538 bytes 4368623 (4.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 61538 bytes 4368623 (4.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 34845 bytes 20941568 (20.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 66566 bytes 5189175 (5.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 61622 bytes 4374501 (4.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 61622 bytes 4374501 (4.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 34892 bytes 20970375 (20.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 66640 bytes 5194735 (5.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 61700 bytes 4379945 (4.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 61700 bytes 4379945 (4.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 34937 bytes 20999059 (20.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 66711 bytes 5200059 (5.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 61772 bytes 4384955 (4.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 61772 bytes 4384955 (4.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 34989 bytes 21028700 (21.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 66801 bytes 5207128 (5.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 61862 bytes 4391411 (4.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 61862 bytes 4391411 (4.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 35052 bytes 21058726 (21.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 66956 bytes 5219696 (5.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 62012 bytes 4402513 (4.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 62012 bytes 4402513 (4.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 35095 bytes 21087299 (21.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 67069 bytes 5228733 (5.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 62078 bytes 4407089 (4.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 62078 bytes 4407089 (4.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 35138 bytes 21115927 (21.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 67129 bytes 5233354 (5.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 62150 bytes 4412099 (4.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 62150 bytes 4412099 (4.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 35182 bytes 21144583 (21.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 67199 bytes 5238636 (5.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 62222 bytes 4417109 (4.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 62222 bytes 4417109 (4.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 35235 bytes 21174252 (21.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 67290 bytes 5245744 (5.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 62312 bytes 4423565 (4.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 62312 bytes 4423565 (4.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 35277 bytes 21202852 (21.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 67370 bytes 5252021 (5.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 62384 bytes 4428575 (4.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 62384 bytes 4428575 (4.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 35321 bytes 21231508 (21.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 67441 bytes 5257384 (5.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 62456 bytes 4433585 (4.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 62456 bytes 4433585 (4.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 35366 bytes 21260192 (21.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 67512 bytes 5262708 (5.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 62528 bytes 4438595 (4.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 62528 bytes 4438595 (4.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 35411 bytes 21288876 (21.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 67583 bytes 5268043 (5.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 62600 bytes 4443605 (4.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 62600 bytes 4443605 (4.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 35464 bytes 21318545 (21.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 67674 bytes 5275151 (5.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 62690 bytes 4450061 (4.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 62690 bytes 4450061 (4.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 35524 bytes 21348432 (21.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 67823 bytes 5287289 (5.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 62834 bytes 4460729 (4.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 62834 bytes 4460729 (4.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 35570 bytes 21377144 (21.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 67932 bytes 5296048 (5.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 62906 bytes 4465739 (4.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 62906 bytes 4465739 (4.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 35614 bytes 21405800 (21.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 68003 bytes 5301400 (5.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 62978 bytes 4470749 (4.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 62978 bytes 4470749 (4.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 35659 bytes 21434484 (21.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 68074 bytes 5306735 (5.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 63050 bytes 4475759 (4.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 63050 bytes 4475759 (4.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 35712 bytes 21464153 (21.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 68164 bytes 5313754 (5.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 63140 bytes 4482215 (4.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 63140 bytes 4482215 (4.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 35759 bytes 21493065 (21.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 68252 bytes 5320528 (5.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 63224 bytes 4488009 (4.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 63224 bytes 4488009 (4.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 35807 bytes 21522036 (21.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 68363 bytes 5328924 (5.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 63302 bytes 4493429 (4.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 63302 bytes 4493429 (4.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 35853 bytes 21550748 (21.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 68464 bytes 5336473 (5.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 63374 bytes 4498439 (4.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 63374 bytes 4498439 (4.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 35899 bytes 21579515 (21.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 68539 bytes 5342113 (5.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 63452 bytes 4503883 (4.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 63452 bytes 4503883 (4.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 35950 bytes 21609073 (21.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 68628 bytes 5349109 (5.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 63536 bytes 4509905 (4.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 63536 bytes 4509905 (4.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 36012 bytes 21639016 (21.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 68769 bytes 5360631 (5.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 63680 bytes 4520573 (4.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 63680 bytes 4520573 (4.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 36057 bytes 21667700 (21.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 68888 bytes 5370118 (5.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 63752 bytes 4525583 (4.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 63752 bytes 4525583 (4.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 36102 bytes 21696384 (21.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 68959 bytes 5375453 (5.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 63824 bytes 4530593 (4.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 63824 bytes 4530593 (4.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 36148 bytes 21725096 (21.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 69031 bytes 5380819 (5.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 63896 bytes 4535603 (4.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 63896 bytes 4535603 (4.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 36202 bytes 21754793 (21.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 69122 bytes 5387891 (5.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 63986 bytes 4542059 (4.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 63986 bytes 4542059 (4.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 36247 bytes 21783477 (21.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 69206 bytes 5394364 (5.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 64058 bytes 4547069 (4.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 64058 bytes 4547069 (4.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 36288 bytes 21811927 (21.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 69274 bytes 5399510 (5.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 64118 bytes 4551211 (4.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 64118 bytes 4551211 (4.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 36337 bytes 21840900 (21.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 69339 bytes 5404451 (5.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 64208 bytes 4557523 (4.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 64208 bytes 4557523 (4.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 36379 bytes 21869445 (21.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 69407 bytes 5409610 (5.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 64274 bytes 4562099 (4.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 64274 bytes 4562099 (4.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 36432 bytes 21899114 (21.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 69498 bytes 5416718 (5.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 64364 bytes 4568555 (4.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 64364 bytes 4568555 (4.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 36491 bytes 21928973 (21.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 69647 bytes 5428859 (5.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 64508 bytes 4579223 (4.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 64508 bytes 4579223 (4.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 36535 bytes 21957629 (21.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 69763 bytes 5438189 (5.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 64580 bytes 4584233 (4.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 64580 bytes 4584233 (4.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 36580 bytes 21986313 (21.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 69835 bytes 5443594 (5.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 64652 bytes 4589243 (4.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 64652 bytes 4589243 (4.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 36626 bytes 22015025 (22.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 69908 bytes 5449041 (5.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 64724 bytes 4594253 (4.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 64724 bytes 4594253 (4.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 36678 bytes 22044666 (22.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 69997 bytes 5456018 (5.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 64814 bytes 4600709 (4.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 64814 bytes 4600709 (4.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 36724 bytes 22073378 (22.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 70081 bytes 5462452 (5.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 64886 bytes 4605719 (4.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 64886 bytes 4605719 (4.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 36769 bytes 22102062 (22.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 70154 bytes 5467946 (5.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 64958 bytes 4610729 (4.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 64958 bytes 4610729 (4.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 36815 bytes 22130774 (22.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 70226 bytes 5473312 (5.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 65030 bytes 4615739 (4.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 65030 bytes 4615739 (4.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 36860 bytes 22159513 (22.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 70299 bytes 5478837 (5.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 65108 bytes 4621183 (4.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 65108 bytes 4621183 (4.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 36914 bytes 22189400 (22.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 70394 bytes 5486389 (5.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 65216 bytes 4629091 (4.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 65216 bytes 4629091 (4.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 36971 bytes 22218958 (22.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 70538 bytes 5498024 (5.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 65336 bytes 4637873 (4.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 65336 bytes 4637873 (4.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 37014 bytes 22247586 (22.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 70654 bytes 5507374 (5.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 65408 bytes 4642883 (4.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 65408 bytes 4642883 (4.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 37058 bytes 22276242 (22.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 70725 bytes 5512737 (5.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 65480 bytes 4647893 (4.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 65480 bytes 4647893 (4.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 37102 bytes 22304898 (22.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 70794 bytes 5517949 (5.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 65552 bytes 4652903 (4.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 65552 bytes 4652903 (4.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 37154 bytes 22334539 (22.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 70884 bytes 5525026 (5.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 65642 bytes 4659359 (4.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 65642 bytes 4659359 (4.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 37198 bytes 22363195 (22.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 70966 bytes 5531376 (5.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 65714 bytes 4664369 (4.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 65714 bytes 4664369 (4.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 37241 bytes 22391823 (22.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 71022 bytes 5535673 (5.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 65786 bytes 4669379 (4.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 65786 bytes 4669379 (4.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 37286 bytes 22420507 (22.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 71094 bytes 5541078 (5.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 65858 bytes 4674389 (4.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 65858 bytes 4674389 (4.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 37330 bytes 22449163 (22.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 71165 bytes 5546441 (5.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 65930 bytes 4679399 (4.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 65930 bytes 4679399 (4.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 37382 bytes 22478804 (22.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 71255 bytes 5553499 (5.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 66020 bytes 4685855 (4.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 66020 bytes 4685855 (4.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 37448 bytes 22509107 (22.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 71416 bytes 5566477 (5.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 66176 bytes 4697307 (4.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 66176 bytes 4697307 (4.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 37493 bytes 22537918 (22.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 71574 bytes 5579004 (5.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 66254 bytes 4702727 (4.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 66254 bytes 4702727 (4.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 37538 bytes 22566602 (22.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 71670 bytes 5586215 (5.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 66326 bytes 4707737 (4.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 66326 bytes 4707737 (4.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 37582 bytes 22595258 (22.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 71741 bytes 5591574 (5.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 66398 bytes 4712747 (4.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 66398 bytes 4712747 (4.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 37633 bytes 22624871 (22.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 71831 bytes 5598679 (5.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 66488 bytes 4719203 (4.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 66488 bytes 4719203 (4.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 37678 bytes 22653555 (22.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 71913 bytes 5605001 (5.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 66560 bytes 4724213 (4.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 66560 bytes 4724213 (4.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 37722 bytes 22682266 (22.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 71983 bytes 5610322 (5.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 66638 bytes 4729657 (4.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 66638 bytes 4729657 (4.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 37769 bytes 22711128 (22.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 72047 bytes 5615221 (5.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 66722 bytes 4735535 (4.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 66722 bytes 4735535 (4.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 37812 bytes 22739756 (22.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 72118 bytes 5620623 (5.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 66798 bytes 4740813 (4.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 66798 bytes 4740813 (4.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 37869 bytes 22769782 (22.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 72216 bytes 5628340 (5.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 66908 bytes 4748887 (4.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 66908 bytes 4748887 (4.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 37924 bytes 22799284 (22.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 72359 bytes 5639986 (5.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 67028 bytes 4757669 (4.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 67028 bytes 4757669 (4.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 37968 bytes 22827940 (22.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 72473 bytes 5649121 (5.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 67100 bytes 4762679 (4.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 67100 bytes 4762679 (4.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 38013 bytes 22856624 (22.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 72545 bytes 5654526 (5.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 67172 bytes 4767689 (4.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 67172 bytes 4767689 (4.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 38058 bytes 22885308 (22.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 72617 bytes 5659931 (5.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 67244 bytes 4772699 (4.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 67244 bytes 4772699 (4.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 38110 bytes 22914949 (22.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 72707 bytes 5667008 (5.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 67334 bytes 4779155 (4.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 67334 bytes 4779155 (4.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 38155 bytes 22943633 (22.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 72790 bytes 5673392 (5.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 67406 bytes 4784165 (4.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 67406 bytes 4784165 (4.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 38200 bytes 22972317 (22.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 72863 bytes 5678886 (5.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 67478 bytes 4789175 (4.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 67478 bytes 4789175 (4.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 38243 bytes 23000945 (23.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 72931 bytes 5684056 (5.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 67550 bytes 4794185 (4.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 67550 bytes 4794185 (4.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 38287 bytes 23029601 (23.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 72992 bytes 5688719 (5.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 67622 bytes 4799195 (4.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 67622 bytes 4799195 (4.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 38339 bytes 23059242 (23.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 73081 bytes 5695696 (5.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 67712 bytes 4805651 (4.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 67712 bytes 4805651 (4.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 38399 bytes 23089129 (23.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 73230 bytes 5707855 (5.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 67856 bytes 4816319 (4.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 67856 bytes 4816319 (4.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 38443 bytes 23117785 (23.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 73347 bytes 5717228 (5.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 67928 bytes 4821329 (4.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 67928 bytes 4821329 (4.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 38487 bytes 23146441 (23.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 73417 bytes 5722510 (5.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 68000 bytes 4826339 (4.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 68000 bytes 4826339 (4.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 38531 bytes 23175097 (23.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 73484 bytes 5727549 (5.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 68072 bytes 4831349 (4.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 68072 bytes 4831349 (4.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 38583 bytes 23204738 (23.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 73575 bytes 5734707 (5.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 68162 bytes 4837805 (4.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 68162 bytes 4837805 (4.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 38628 bytes 23233422 (23.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 73648 bytes 5740399 (5.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 68234 bytes 4842815 (4.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 68234 bytes 4842815 (4.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 38672 bytes 23262078 (23.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 73719 bytes 5745762 (5.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 68306 bytes 4847825 (4.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 68306 bytes 4847825 (4.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 38716 bytes 23290734 (23.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 73789 bytes 5751044 (5.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 68378 bytes 4852835 (4.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 68378 bytes 4852835 (4.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 38759 bytes 23319362 (23.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 73859 bytes 5756365 (5.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 68450 bytes 4857845 (4.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 68450 bytes 4857845 (4.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 38812 bytes 23349031 (23.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 73950 bytes 5763465 (5.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 68540 bytes 4864301 (4.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 68540 bytes 4864301 (4.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 38871 bytes 23378890 (23.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 74105 bytes 5776164 (5.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 68684 bytes 4874969 (4.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 68684 bytes 4874969 (4.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 38916 bytes 23407629 (23.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 74216 bytes 5785036 (5.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 68762 bytes 4880413 (4.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 68762 bytes 4880413 (4.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 38959 bytes 23436202 (23.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 74285 bytes 5790237 (5.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 68828 bytes 4884989 (4.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 68828 bytes 4884989 (4.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 39004 bytes 23464886 (23.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 74356 bytes 5795572 (5.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 68900 bytes 4889999 (4.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 68900 bytes 4889999 (4.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 39056 bytes 23494527 (23.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 74452 bytes 5803110 (5.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 68990 bytes 4896455 (4.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 68990 bytes 4896455 (4.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 39105 bytes 23523622 (23.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 74549 bytes 5810597 (5.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 69080 bytes 4902659 (4.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 69080 bytes 4902659 (4.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 39143 bytes 23551887 (23.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 74646 bytes 5817891 (5.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 69122 bytes 4905499 (4.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 69122 bytes 4905499 (4.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 39191 bytes 23580777 (23.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 74745 bytes 5825334 (5.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 69206 bytes 4911377 (4.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 69206 bytes 4911377 (4.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 39236 bytes 23609461 (23.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 74807 bytes 5830039 (5.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 69278 bytes 4916387 (4.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 69278 bytes 4916387 (4.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 39293 bytes 23639487 (23.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 74906 bytes 5837837 (5.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 69392 bytes 4924729 (4.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 69392 bytes 4924729 (4.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 39350 bytes 23669045 (23.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 75045 bytes 5849062 (5.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 69512 bytes 4933511 (4.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 69512 bytes 4933511 (4.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 39395 bytes 23697729 (23.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 75162 bytes 5858398 (5.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 69584 bytes 4938521 (4.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 69584 bytes 4938521 (4.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 39520 bytes 23784322 (23.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 75385 bytes 5876929 (5.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 69726 bytes 4948517 (4.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 69726 bytes 4948517 (4.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 39566 bytes 23813034 (23.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 75539 bytes 5889200 (5.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 69798 bytes 4953527 (4.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 69798 bytes 4953527 (4.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 39619 bytes 23842703 (23.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 75642 bytes 5897273 (5.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 69888 bytes 4959983 (4.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 69888 bytes 4959983 (4.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 39665 bytes 23871415 (23.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 75725 bytes 5903618 (5.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 69960 bytes 4964993 (4.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 69960 bytes 4964993 (4.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 39711 bytes 23900127 (23.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 75794 bytes 5908760 (5.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 70032 bytes 4970003 (4.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 70032 bytes 4970003 (4.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 39755 bytes 23928783 (23.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 75866 bytes 5914193 (5.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 70104 bytes 4975013 (4.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 70104 bytes 4975013 (4.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 39801 bytes 23957495 (23.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 75939 bytes 5919640 (5.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 70176 bytes 4980023 (4.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 70176 bytes 4980023 (4.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 39853 bytes 23987136 (23.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 76029 bytes 5926698 (5.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 70266 bytes 4986479 (4.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 70266 bytes 4986479 (4.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 39914 bytes 24017051 (24.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 76181 bytes 5939059 (5.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 70410 bytes 4997147 (4.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 70410 bytes 4997147 (4.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 39959 bytes 24045735 (24.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 76296 bytes 5948222 (5.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 70482 bytes 5002157 (5.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 70482 bytes 5002157 (5.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 40004 bytes 24074419 (24.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 76368 bytes 5953627 (5.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 70554 bytes 5007167 (5.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 70554 bytes 5007167 (5.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 40047 bytes 24103047 (24.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 76436 bytes 5958797 (5.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 70626 bytes 5012177 (5.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 70626 bytes 5012177 (5.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 40100 bytes 24132716 (24.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 76527 bytes 5965905 (5.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 70716 bytes 5018633 (5.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 70716 bytes 5018633 (5.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 40142 bytes 24161316 (24.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 76607 bytes 5972182 (5.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 70788 bytes 5023643 (5.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 70788 bytes 5023643 (5.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 40186 bytes 24189972 (24.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 76678 bytes 5977545 (5.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 70860 bytes 5028653 (5.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 70860 bytes 5028653 (5.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 40230 bytes 24218628 (24.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 76749 bytes 5982897 (5.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 70932 bytes 5033663 (5.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 70932 bytes 5033663 (5.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 40274 bytes 24247284 (24.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 76819 bytes 5988190 (5.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 71004 bytes 5038673 (5.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 71004 bytes 5038673 (5.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 40327 bytes 24276953 (24.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 76910 bytes 5995279 (5.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 71094 bytes 5045129 (5.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 71094 bytes 5045129 (5.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 40386 bytes 24306812 (24.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 77061 bytes 6007613 (6.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 71238 bytes 5055797 (5.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 71238 bytes 5055797 (5.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 40430 bytes 24335468 (24.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 77177 bytes 6016909 (6.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 71310 bytes 5060807 (5.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 71310 bytes 5060807 (5.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 40474 bytes 24364124 (24.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 77247 bytes 6022202 (6.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 71382 bytes 5065817 (5.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 71382 bytes 5065817 (5.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 40519 bytes 24392808 (24.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 77318 bytes 6027526 (6.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 71454 bytes 5070827 (5.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 71454 bytes 5070827 (5.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 40572 bytes 24422477 (24.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 77409 bytes 6034645 (6.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 71544 bytes 5077283 (5.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 71544 bytes 5077283 (5.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 40616 bytes 24451133 (24.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 77477 bytes 6039971 (6.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 71616 bytes 5082293 (5.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 71616 bytes 5082293 (5.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 40662 bytes 24479900 (24.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 77551 bytes 6045538 (6.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 71694 bytes 5087737 (5.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 71694 bytes 5087737 (5.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 40710 bytes 24508790 (24.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 77625 bytes 6051098 (6.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 71778 bytes 5093615 (5.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 71778 bytes 5093615 (5.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 40755 bytes 24537474 (24.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 77698 bytes 6056573 (6.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 71850 bytes 5098625 (5.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 71850 bytes 5098625 (5.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 40807 bytes 24567115 (24.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 77787 bytes 6063569 (6.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 71940 bytes 5105081 (5.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 71940 bytes 5105081 (5.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 40873 bytes 24597545 (24.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 77959 bytes 6077483 (6.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 72102 bytes 5116943 (5.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 72102 bytes 5116943 (5.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 40917 bytes 24626201 (24.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 78110 bytes 6089393 (6.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 72174 bytes 5121953 (5.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 72174 bytes 5121953 (5.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 40961 bytes 24654857 (24.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 78201 bytes 6096270 (6.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 72246 bytes 5126963 (5.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 72246 bytes 5126963 (5.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 41005 bytes 24683513 (24.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 78271 bytes 6101552 (6.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 72318 bytes 5131973 (5.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 72318 bytes 5131973 (5.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 41059 bytes 24713210 (24.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 78364 bytes 6108794 (6.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 72408 bytes 5138429 (5.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 72408 bytes 5138429 (5.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 41103 bytes 24741921 (24.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 78447 bytes 6115264 (6.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 72486 bytes 5143873 (5.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 72486 bytes 5143873 (5.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 41147 bytes 24770522 (24.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 78508 bytes 6119888 (6.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 72552 bytes 5148449 (5.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 72552 bytes 5148449 (5.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 41193 bytes 24799234 (24.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 78580 bytes 6125254 (6.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 72624 bytes 5153459 (5.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 72624 bytes 5153459 (5.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 41237 bytes 24827890 (24.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 78650 bytes 6130536 (6.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 72696 bytes 5158469 (5.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 72696 bytes 5158469 (5.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 41289 bytes 24857531 (24.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 78739 bytes 6137532 (6.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 72786 bytes 5164925 (5.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 72786 bytes 5164925 (5.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 41349 bytes 24887418 (24.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 78890 bytes 6149835 (6.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 72930 bytes 5175593 (5.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 72930 bytes 5175593 (5.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 41393 bytes 24916074 (24.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 79005 bytes 6159045 (6.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 73002 bytes 5180603 (5.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 73002 bytes 5180603 (5.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 41436 bytes 24944702 (24.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 79074 bytes 6164296 (6.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 73074 bytes 5185613 (5.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 73074 bytes 5185613 (5.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 41481 bytes 24973386 (24.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 79146 bytes 6169690 (6.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 73146 bytes 5190623 (5.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 73146 bytes 5190623 (5.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 41533 bytes 25003027 (25.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 79236 bytes 6176767 (6.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 73236 bytes 5197079 (5.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 73236 bytes 5197079 (5.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 41576 bytes 25031655 (25.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 79307 bytes 6182375 (6.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 73308 bytes 5202089 (5.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 73308 bytes 5202089 (5.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 41621 bytes 25060339 (25.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 79378 bytes 6187699 (6.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 73380 bytes 5207099 (5.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 73380 bytes 5207099 (5.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 41666 bytes 25089023 (25.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 79450 bytes 6193104 (6.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 73452 bytes 5212109 (5.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 73452 bytes 5212109 (5.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 41710 bytes 25117679 (25.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 79521 bytes 6198467 (6.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 73524 bytes 5217119 (5.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 73524 bytes 5217119 (5.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 41763 bytes 25147348 (25.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 79611 bytes 6205505 (6.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 73614 bytes 5223575 (5.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 73614 bytes 5223575 (5.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 41823 bytes 25177235 (25.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 79757 bytes 6217410 (6.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 73758 bytes 5234243 (5.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 73758 bytes 5234243 (5.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 41868 bytes 25205919 (25.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 79874 bytes 6226736 (6.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 73830 bytes 5239253 (5.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 73830 bytes 5239253 (5.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 41913 bytes 25234603 (25.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 79945 bytes 6232060 (6.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 73902 bytes 5244263 (5.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 73902 bytes 5244263 (5.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 41959 bytes 25263315 (25.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 80018 bytes 6237518 (6.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 73974 bytes 5249273 (5.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 73974 bytes 5249273 (5.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 42011 bytes 25292956 (25.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 80108 bytes 6244576 (6.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 74064 bytes 5255729 (5.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 74064 bytes 5255729 (5.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 42057 bytes 25321668 (25.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 80192 bytes 6251010 (6.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 74136 bytes 5260739 (5.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 74136 bytes 5260739 (5.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 42100 bytes 25350229 (25.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 80253 bytes 6255649 (6.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 74202 bytes 5265315 (5.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 74202 bytes 5265315 (5.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 42147 bytes 25379036 (25.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 80329 bytes 6261360 (6.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 74280 bytes 5270759 (5.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 74280 bytes 5270759 (5.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 42192 bytes 25407720 (25.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 80400 bytes 6266695 (6.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 74356 bytes 5276037 (5.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 74356 bytes 5276037 (5.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 42245 bytes 25437389 (25.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 80491 bytes 6273792 (6.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 74442 bytes 5282225 (5.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 74442 bytes 5282225 (5.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 42306 bytes 25467304 (25.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 80641 bytes 6285978 (6.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 74586 bytes 5292893 (5.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 74586 bytes 5292893 (5.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 42352 bytes 25496016 (25.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 80758 bytes 6295280 (6.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 74658 bytes 5297903 (5.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 74658 bytes 5297903 (5.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 42396 bytes 25524672 (25.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 80828 bytes 6300562 (6.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 74730 bytes 5302913 (5.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 74730 bytes 5302913 (5.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 42441 bytes 25553356 (25.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 80900 bytes 6305967 (6.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 74802 bytes 5307923 (5.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 74802 bytes 5307923 (5.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 42495 bytes 25583053 (25.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 80992 bytes 6313128 (6.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 74892 bytes 5314379 (5.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 74892 bytes 5314379 (5.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 42544 bytes 25612224 (25.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 81097 bytes 6321264 (6.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 74982 bytes 5320583 (5.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 74982 bytes 5320583 (5.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 42589 bytes 25640908 (25.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 81205 bytes 6329377 (6.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 75054 bytes 5325593 (5.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 75054 bytes 5325593 (5.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 42635 bytes 25669620 (25.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 81295 bytes 6336113 (6.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 75126 bytes 5330603 (5.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 75126 bytes 5330603 (5.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 42680 bytes 25698304 (25.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 81367 bytes 6341518 (6.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 75198 bytes 5335613 (5.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 75198 bytes 5335613 (5.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 42732 bytes 25727945 (25.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 81458 bytes 6348654 (6.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 75288 bytes 5342069 (5.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 75288 bytes 5342069 (5.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 42794 bytes 25757888 (25.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 81611 bytes 6361033 (6.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 75432 bytes 5352737 (5.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 75432 bytes 5352737 (5.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 42839 bytes 25786572 (25.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 81727 bytes 6370282 (6.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 75504 bytes 5357747 (5.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 75504 bytes 5357747 (5.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 42884 bytes 25815256 (25.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 81798 bytes 6375606 (6.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 75576 bytes 5362757 (5.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 75576 bytes 5362757 (5.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 42929 bytes 25843940 (25.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 81866 bytes 6380687 (6.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 75648 bytes 5367767 (5.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 75648 bytes 5367767 (5.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 42981 bytes 25873581 (25.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 81956 bytes 6387756 (6.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 75738 bytes 5374223 (5.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 75738 bytes 5374223 (5.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 43027 bytes 25902293 (25.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82041 bytes 6394260 (6.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 75810 bytes 5379233 (5.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 75810 bytes 5379233 (5.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 43072 bytes 25930977 (25.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82114 bytes 6399765 (6.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 75882 bytes 5384243 (5.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 75882 bytes 5384243 (5.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 43116 bytes 25959633 (25.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82184 bytes 6405047 (6.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 75954 bytes 5389253 (5.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 75954 bytes 5389253 (5.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 43160 bytes 25988289 (25.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82254 bytes 6410340 (6.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 76026 bytes 5394263 (5.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 76026 bytes 5394263 (5.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 43214 bytes 26017986 (26.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82347 bytes 6417560 (6.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 76116 bytes 5400719 (5.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 76116 bytes 5400719 (5.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 43275 bytes 26047956 (26.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82495 bytes 6429592 (6.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 76266 bytes 5411821 (5.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 76266 bytes 5411821 (5.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 43319 bytes 26076557 (26.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82614 bytes 6439104 (6.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 76332 bytes 5416397 (5.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 76332 bytes 5416397 (5.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 43365 bytes 26105269 (26.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82685 bytes 6444400 (6.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 76404 bytes 5421407 (5.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 76404 bytes 5421407 (5.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 43411 bytes 26133981 (26.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82758 bytes 6449836 (6.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 76476 bytes 5426417 (5.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 76476 bytes 5426417 (5.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 43463 bytes 26163622 (26.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82848 bytes 6456913 (6.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 76566 bytes 5432873 (5.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 76566 bytes 5432873 (5.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 43507 bytes 26192278 (26.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82931 bytes 6463333 (6.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 76638 bytes 5437883 (5.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 76638 bytes 5437883 (5.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 43553 bytes 26221045 (26.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 83003 bytes 6468749 (6.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 76716 bytes 5443327 (5.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 76716 bytes 5443327 (5.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 43601 bytes 26249935 (26.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 83080 bytes 6474541 (6.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 76800 bytes 5449205 (5.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 76800 bytes 5449205 (5.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 43646 bytes 26278619 (26.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 83151 bytes 6479865 (6.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 76872 bytes 5454215 (5.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 76872 bytes 5454215 (5.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 43699 bytes 26308288 (26.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 83243 bytes 6487054 (6.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 76962 bytes 5460671 (5.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 76962 bytes 5460671 (5.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 43759 bytes 26338175 (26.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 83393 bytes 6499276 (6.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 77106 bytes 5471339 (5.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 77106 bytes 5471339 (5.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 43804 bytes 26366859 (26.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 83510 bytes 6508609 (6.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 77178 bytes 5476349 (5.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 77178 bytes 5476349 (5.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 43848 bytes 26395515 (26.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 83581 bytes 6513972 (6.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 77250 bytes 5481359 (5.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 77250 bytes 5481359 (5.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 43893 bytes 26424199 (26.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 83652 bytes 6519307 (6.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 77322 bytes 5486369 (5.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 77322 bytes 5486369 (5.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 43945 bytes 26453840 (26.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 83742 bytes 6526365 (6.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 77412 bytes 5492825 (5.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 77412 bytes 5492825 (5.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 43989 bytes 26482496 (26.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 83823 bytes 6532645 (6.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 77484 bytes 5497835 (5.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 77484 bytes 5497835 (5.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 44034 bytes 26511180 (26.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 83896 bytes 6538139 (6.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 77556 bytes 5502845 (5.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 77556 bytes 5502845 (5.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 44077 bytes 26539808 (26.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 83955 bytes 6542679 (6.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 77628 bytes 5507855 (5.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 77628 bytes 5507855 (5.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 44122 bytes 26568492 (26.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 84027 bytes 6548084 (6.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 77700 bytes 5512865 (5.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 77700 bytes 5512865 (5.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 44174 bytes 26598133 (26.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 84117 bytes 6555150 (6.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 77790 bytes 5519321 (5.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 77790 bytes 5519321 (5.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 44239 bytes 26628535 (26.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 84299 bytes 6569883 (6.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 77952 bytes 5531183 (5.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 77952 bytes 5531183 (5.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 44283 bytes 26657191 (26.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 84446 bytes 6581456 (6.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 78024 bytes 5536193 (5.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 78024 bytes 5536193 (5.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 44327 bytes 26685847 (26.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 84526 bytes 6587485 (6.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 78096 bytes 5541203 (5.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 78096 bytes 5541203 (5.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 44372 bytes 26714531 (26.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 84598 bytes 6592890 (6.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 78168 bytes 5546213 (5.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 78168 bytes 5546213 (5.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 44424 bytes 26744172 (26.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 84689 bytes 6600018 (6.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 78258 bytes 5552669 (5.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 78258 bytes 5552669 (5.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 44469 bytes 26772856 (26.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 84771 bytes 6606332 (6.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 78330 bytes 5557679 (5.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 78330 bytes 5557679 (5.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 44514 bytes 26801540 (26.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 84845 bytes 6611904 (6.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 78402 bytes 5562689 (5.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 78402 bytes 5562689 (5.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 44557 bytes 26830168 (26.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 84915 bytes 6617225 (6.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 78474 bytes 5567699 (5.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 78474 bytes 5567699 (5.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 44601 bytes 26858824 (26.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 84985 bytes 6622518 (6.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 78546 bytes 5572709 (5.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 78546 bytes 5572709 (5.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 44653 bytes 26888465 (26.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 85076 bytes 6629665 (6.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 78636 bytes 5579165 (5.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 78636 bytes 5579165 (5.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 44714 bytes 26918435 (26.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 85230 bytes 6642200 (6.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 78786 bytes 5590267 (5.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 78786 bytes 5590267 (5.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 44757 bytes 26947008 (26.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 85343 bytes 6651259 (6.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 78852 bytes 5594843 (5.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 78852 bytes 5594843 (5.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 44801 bytes 26975664 (26.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 85415 bytes 6656692 (6.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 78924 bytes 5599853 (5.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 78924 bytes 5599853 (5.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 44845 bytes 27004320 (27.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 85485 bytes 6661985 (6.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 78996 bytes 5604863 (5.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 78996 bytes 5604863 (5.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 44897 bytes 27033961 (27.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 85574 bytes 6668962 (6.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 79086 bytes 5611319 (5.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 79086 bytes 5611319 (5.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 44941 bytes 27062617 (27.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 85655 bytes 6675234 (6.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 79158 bytes 5616329 (5.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 79158 bytes 5616329 (5.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 44978 bytes 27090778 (27.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 85710 bytes 6679441 (6.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 79200 bytes 5619169 (5.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 79200 bytes 5619169 (5.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 45025 bytes 27119640 (27.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 85785 bytes 6685110 (6.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 79284 bytes 5625047 (5.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 79284 bytes 5625047 (5.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 45069 bytes 27148296 (27.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 85855 bytes 6690403 (6.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 79356 bytes 5630057 (5.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 79356 bytes 5630057 (5.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 45121 bytes 27177937 (27.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 85947 bytes 6697631 (6.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 79446 bytes 5636513 (5.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 79446 bytes 5636513 (5.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 45179 bytes 27207768 (27.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 86096 bytes 6709863 (6.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 79590 bytes 5647181 (5.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 79590 bytes 5647181 (5.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 45223 bytes 27236424 (27.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 86211 bytes 6719060 (6.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 79662 bytes 5652191 (5.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 79662 bytes 5652191 (5.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 45267 bytes 27265080 (27.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 86281 bytes 6724342 (6.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 79734 bytes 5657201 (5.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 79734 bytes 5657201 (5.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 45311 bytes 27293736 (27.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 86352 bytes 6729705 (6.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 79806 bytes 5662211 (5.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 79806 bytes 5662211 (5.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 45364 bytes 27323405 (27.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 86443 bytes 6736805 (6.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 79896 bytes 5668667 (5.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 79896 bytes 5668667 (5.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 45406 bytes 27352005 (27.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 86521 bytes 6742920 (6.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 79968 bytes 5673677 (5.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 79968 bytes 5673677 (5.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 45450 bytes 27380661 (27.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 86593 bytes 6748372 (6.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 80040 bytes 5678687 (5.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 80040 bytes 5678687 (5.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 45494 bytes 27409317 (27.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 86664 bytes 6753735 (6.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 80112 bytes 5683697 (5.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 80112 bytes 5683697 (5.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 45539 bytes 27438001 (27.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 86735 bytes 6759070 (6.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 80184 bytes 5688707 (5.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 80184 bytes 5688707 (5.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 45591 bytes 27467642 (27.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 86825 bytes 6766136 (6.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 80274 bytes 5695163 (5.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 80274 bytes 5695163 (5.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 45651 bytes 27497529 (27.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 86974 bytes 6778274 (6.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 80418 bytes 5705831 (5.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 80418 bytes 5705831 (5.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 45695 bytes 27526185 (27.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 87092 bytes 6787719 (6.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 80490 bytes 5710841 (5.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 80490 bytes 5710841 (5.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 45739 bytes 27554841 (27.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 87162 bytes 6793012 (6.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 80562 bytes 5715851 (5.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 80562 bytes 5715851 (5.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 45783 bytes 27583497 (27.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 87222 bytes 6797594 (6.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 80634 bytes 5720861 (5.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 80634 bytes 5720861 (5.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 45836 bytes 27613166 (27.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 87314 bytes 6804764 (6.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 80724 bytes 5727317 (5.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 80724 bytes 5727317 (5.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 45888 bytes 27642421 (27.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 87429 bytes 6813569 (6.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 80814 bytes 5733521 (5.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 80814 bytes 5733521 (5.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 45933 bytes 27671105 (27.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 87537 bytes 6821689 (6.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 80886 bytes 5738531 (5.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 80886 bytes 5738531 (5.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 45977 bytes 27699761 (27.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 87619 bytes 6827880 (6.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 80958 bytes 5743541 (5.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 80958 bytes 5743541 (5.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 46021 bytes 27728417 (27.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 87689 bytes 6833162 (6.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 81030 bytes 5748551 (5.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 81030 bytes 5748551 (5.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 46073 bytes 27758058 (27.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 87776 bytes 6839985 (6.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 81120 bytes 5755007 (5.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 81120 bytes 5755007 (5.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 46132 bytes 27787917 (27.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 87926 bytes 6852245 (6.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 81264 bytes 5765675 (5.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 81264 bytes 5765675 (5.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 46176 bytes 27816573 (27.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 88040 bytes 6861386 (6.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 81336 bytes 5770685 (5.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 81336 bytes 5770685 (5.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 46220 bytes 27845229 (27.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 88110 bytes 6866679 (6.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 81408 bytes 5775695 (5.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 81408 bytes 5775695 (5.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 46264 bytes 27873885 (27.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 88181 bytes 6872042 (6.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 81480 bytes 5780705 (5.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 81480 bytes 5780705 (5.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 46317 bytes 27903554 (27.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 88273 bytes 6879212 (6.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 81570 bytes 5787161 (5.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 81570 bytes 5787161 (5.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 46361 bytes 27932210 (27.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 88355 bytes 6885573 (6.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 81642 bytes 5792171 (5.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 81642 bytes 5792171 (5.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 46407 bytes 27960977 (27.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 88430 bytes 6891218 (6.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 81720 bytes 5797615 (5.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 81720 bytes 5797615 (5.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 46455 bytes 27989867 (27.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 88504 bytes 6896789 (6.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 81804 bytes 5803493 (5.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 81804 bytes 5803493 (5.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 46501 bytes 28018579 (28.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 88567 bytes 6901536 (6.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 81876 bytes 5808503 (5.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 81876 bytes 5808503 (5.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 46554 bytes 28048248 (28.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 88658 bytes 6908644 (6.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 81966 bytes 5814959 (5.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 81966 bytes 5814959 (5.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 46616 bytes 28078191 (28.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 88808 bytes 6920771 (6.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 82110 bytes 5825627 (5.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82110 bytes 5825627 (5.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 46661 bytes 28106875 (28.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 88927 bytes 6930283 (6.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 82182 bytes 5830637 (5.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82182 bytes 5830637 (5.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 46705 bytes 28135531 (28.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 88997 bytes 6935576 (6.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 82254 bytes 5835647 (5.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82254 bytes 5835647 (5.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 46749 bytes 28164187 (28.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 89067 bytes 6940869 (6.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 82326 bytes 5840657 (5.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82326 bytes 5840657 (5.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 46801 bytes 28193828 (28.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 89157 bytes 6947927 (6.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 82416 bytes 5847113 (5.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82416 bytes 5847113 (5.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 46844 bytes 28222456 (28.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 89229 bytes 6953616 (6.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 82488 bytes 5852123 (5.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82488 bytes 5852123 (5.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 46889 bytes 28251195 (28.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 89302 bytes 6959149 (6.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 82566 bytes 5857567 (5.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82566 bytes 5857567 (5.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 46932 bytes 28279768 (28.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 89371 bytes 6964350 (6.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 82632 bytes 5862143 (5.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82632 bytes 5862143 (5.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 46976 bytes 28308424 (28.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 89442 bytes 6969713 (6.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 82704 bytes 5867153 (5.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82704 bytes 5867153 (5.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 47028 bytes 28338065 (28.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 89535 bytes 6977030 (6.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 82798 bytes 5873877 (5.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82798 bytes 5873877 (5.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 47086 bytes 28367896 (28.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 89682 bytes 6989095 (6.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 82938 bytes 5884277 (5.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82938 bytes 5884277 (5.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 47130 bytes 28396552 (28.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 89795 bytes 6998127 (6.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 83010 bytes 5889287 (5.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 83010 bytes 5889287 (5.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 47174 bytes 28425208 (28.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 89866 bytes 7003490 (7.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 83082 bytes 5894297 (5.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 83082 bytes 5894297 (5.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 47219 bytes 28453892 (28.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 89937 bytes 7008825 (7.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 83154 bytes 5899307 (5.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 83154 bytes 5899307 (5.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 47273 bytes 28483589 (28.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 90028 bytes 7015886 (7.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 83244 bytes 5905763 (5.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 83244 bytes 5905763 (5.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 47319 bytes 28512301 (28.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 90111 bytes 7022231 (7.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 83316 bytes 5910773 (5.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 83316 bytes 5910773 (5.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 47365 bytes 28541013 (28.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 90185 bytes 7027786 (7.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 83388 bytes 5915783 (5.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 83388 bytes 5915783 (5.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 47410 bytes 28569697 (28.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 90257 bytes 7033191 (7.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 83460 bytes 5920793 (5.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 83460 bytes 5920793 (5.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 47455 bytes 28598381 (28.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 90318 bytes 7037815 (7.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 83532 bytes 5925803 (5.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 83532 bytes 5925803 (5.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 47510 bytes 28628154 (28.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 90412 bytes 7045113 (7.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 83628 bytes 5932651 (5.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 83628 bytes 5932651 (5.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 47575 bytes 28658508 (28.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 90590 bytes 7059413 (7.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 83784 bytes 5944121 (5.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 83784 bytes 5944121 (5.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 47620 bytes 28687192 (28.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 90742 bytes 7071407 (7.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 83856 bytes 5949131 (5.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 83856 bytes 5949131 (5.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 47666 bytes 28715904 (28.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 90824 bytes 7077538 (7.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 83928 bytes 5954141 (5.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 83928 bytes 5954141 (5.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 47712 bytes 28744616 (28.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 90896 bytes 7082904 (7.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 84000 bytes 5959151 (5.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 84000 bytes 5959151 (5.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 47765 bytes 28774285 (28.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 90986 bytes 7089934 (7.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 84090 bytes 5965607 (5.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 84090 bytes 5965607 (5.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 47810 bytes 28802969 (28.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 91068 bytes 7096248 (7.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 84162 bytes 5970617 (5.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 84162 bytes 5970617 (5.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 47852 bytes 28831447 (28.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 91139 bytes 7101595 (7.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 84222 bytes 5974759 (5.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 84222 bytes 5974759 (5.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 47899 bytes 28860309 (28.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 91202 bytes 7106413 (7.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 84306 bytes 5980637 (5.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 84306 bytes 5980637 (5.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 47944 bytes 28888993 (28.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 91274 bytes 7111818 (7.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 84378 bytes 5985647 (5.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 84378 bytes 5985647 (5.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 47997 bytes 28918662 (28.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 91364 bytes 7118837 (7.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 84468 bytes 5992103 (5.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 84468 bytes 5992103 (5.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 48058 bytes 28948577 (28.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 91513 bytes 7130919 (7.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 84612 bytes 6002771 (6.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 84612 bytes 6002771 (6.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 48103 bytes 28977261 (28.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 91632 bytes 7140442 (7.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 84684 bytes 6007781 (6.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 84684 bytes 6007781 (6.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 48147 bytes 29005917 (29.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 91703 bytes 7145805 (7.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 84756 bytes 6012791 (6.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 84756 bytes 6012791 (6.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 48192 bytes 29034601 (29.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 91774 bytes 7151129 (7.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 84828 bytes 6017801 (6.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 84828 bytes 6017801 (6.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 48245 bytes 29064270 (29.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 91865 bytes 7158248 (7.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 84918 bytes 6024257 (6.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 84918 bytes 6024257 (6.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 48289 bytes 29092926 (29.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 91947 bytes 7164590 (7.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 84990 bytes 6029267 (6.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 84990 bytes 6029267 (6.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 48333 bytes 29121582 (29.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 92018 bytes 7169972 (7.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 85062 bytes 6034277 (6.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 85062 bytes 6034277 (6.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 48377 bytes 29150238 (29.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 92089 bytes 7175335 (7.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 85134 bytes 6039287 (6.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 85134 bytes 6039287 (6.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 48421 bytes 29178894 (29.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 92150 bytes 7179998 (7.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 85206 bytes 6044297 (6.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 85206 bytes 6044297 (6.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 48477 bytes 29208892 (29.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 92247 bytes 7187673 (7.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 85320 bytes 6052639 (6.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 85320 bytes 6052639 (6.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 48534 bytes 29238450 (29.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 92391 bytes 7199317 (7.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 85440 bytes 6061421 (6.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 85440 bytes 6061421 (6.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 48578 bytes 29267106 (29.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 92508 bytes 7208684 (7.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 85512 bytes 6066431 (6.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 85512 bytes 6066431 (6.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 48622 bytes 29295762 (29.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 92578 bytes 7213966 (7.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 85584 bytes 6071441 (6.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 85584 bytes 6071441 (6.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 48666 bytes 29324418 (29.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 92648 bytes 7219259 (7.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 85656 bytes 6076451 (6.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 85656 bytes 6076451 (6.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 48718 bytes 29354059 (29.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 92738 bytes 7226325 (7.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 85746 bytes 6082907 (6.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 85746 bytes 6082907 (6.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 48762 bytes 29382715 (29.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 92811 bytes 7232056 (7.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 85818 bytes 6087917 (6.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 85818 bytes 6087917 (6.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 48806 bytes 29411371 (29.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 92882 bytes 7237419 (7.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 85890 bytes 6092927 (6.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 85890 bytes 6092927 (6.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 48850 bytes 29440027 (29.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 92948 bytes 7242377 (7.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 85962 bytes 6097937 (6.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 85962 bytes 6097937 (6.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 48895 bytes 29468711 (29.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 93020 bytes 7247782 (7.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 86034 bytes 6102947 (6.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 86034 bytes 6102947 (6.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 48947 bytes 29498352 (29.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 93109 bytes 7254770 (7.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 86124 bytes 6109403 (6.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 86124 bytes 6109403 (6.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 49008 bytes 29528267 (29.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 93259 bytes 7266933 (7.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 86268 bytes 6120071 (6.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 86268 bytes 6120071 (6.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 49053 bytes 29556951 (29.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 93379 bytes 7276526 (7.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 86340 bytes 6125081 (6.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 86340 bytes 6125081 (6.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 49098 bytes 29585635 (29.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 93450 bytes 7281861 (7.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 86412 bytes 6130091 (6.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 86412 bytes 6130091 (6.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 49143 bytes 29614319 (29.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 93522 bytes 7287266 (7.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 86484 bytes 6135101 (6.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 86484 bytes 6135101 (6.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 49198 bytes 29644168 (29.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 93618 bytes 7294767 (7.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 86580 bytes 6141949 (6.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 86580 bytes 6141949 (6.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 49247 bytes 29673215 (29.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 93736 bytes 7303808 (7.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 86664 bytes 6147761 (6.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 86664 bytes 6147761 (6.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 49294 bytes 29702010 (29.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 93844 bytes 7311888 (7.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 86742 bytes 6153205 (6.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 86742 bytes 6153205 (6.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 49343 bytes 29730928 (29.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 93924 bytes 7317883 (7.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 86826 bytes 6159083 (6.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 86826 bytes 6159083 (6.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 49387 bytes 29759584 (29.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 93984 bytes 7322465 (7.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 86898 bytes 6164093 (6.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 86898 bytes 6164093 (6.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 49440 bytes 29789253 (29.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 94076 bytes 7329635 (7.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 86988 bytes 6170549 (6.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 86988 bytes 6170549 (6.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 49500 bytes 29819140 (29.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 94223 bytes 7341608 (7.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 87132 bytes 6181217 (6.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 87132 bytes 6181217 (6.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 49545 bytes 29847824 (29.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 94343 bytes 7351209 (7.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 87204 bytes 6186227 (6.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 87204 bytes 6186227 (6.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 49591 bytes 29876536 (29.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 94418 bytes 7356818 (7.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 87280 bytes 6191505 (6.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 87280 bytes 6191505 (6.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 49636 bytes 29905220 (29.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 94488 bytes 7362061 (7.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 87348 bytes 6196247 (6.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 87348 bytes 6196247 (6.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 49688 bytes 29934861 (29.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 94581 bytes 7369389 (7.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 87438 bytes 6202703 (6.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 87438 bytes 6202703 (6.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 49733 bytes 29963545 (29.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 94663 bytes 7375692 (7.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 87510 bytes 6207713 (6.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 87510 bytes 6207713 (6.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 49777 bytes 29992201 (29.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 94733 bytes 7380985 (7.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 87582 bytes 6212723 (6.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 87582 bytes 6212723 (6.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 49821 bytes 30020857 (30.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 94803 bytes 7386267 (7.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 87654 bytes 6217733 (6.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 87654 bytes 6217733 (6.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 49865 bytes 30049513 (30.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 94873 bytes 7391549 (7.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 87726 bytes 6222743 (6.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 87726 bytes 6222743 (6.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 49917 bytes 30079154 (30.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 94964 bytes 7398685 (7.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 87816 bytes 6229199 (6.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 87816 bytes 6229199 (6.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 49978 bytes 30109124 (30.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 95115 bytes 7410968 (7.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 87966 bytes 6240301 (6.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 87966 bytes 6240301 (6.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 50021 bytes 30137697 (30.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 95231 bytes 7420268 (7.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 88032 bytes 6244877 (6.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 88032 bytes 6244877 (6.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 50065 bytes 30166353 (30.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 95302 bytes 7425631 (7.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 88104 bytes 6249887 (6.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 88104 bytes 6249887 (6.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 50109 bytes 30195009 (30.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 95372 bytes 7430913 (7.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 88176 bytes 6254897 (6.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 88176 bytes 6254897 (6.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 50161 bytes 30224650 (30.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 95462 bytes 7437990 (7.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 88266 bytes 6261353 (6.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 88266 bytes 6261353 (6.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 50203 bytes 30253250 (30.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 95542 bytes 7444267 (7.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 88338 bytes 6266363 (6.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 88338 bytes 6266363 (6.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 50247 bytes 30281906 (30.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 95612 bytes 7449549 (7.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 88410 bytes 6271373 (6.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 88410 bytes 6271373 (6.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 50291 bytes 30310562 (30.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 95673 bytes 7454212 (7.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 88482 bytes 6276383 (6.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 88482 bytes 6276383 (6.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 50336 bytes 30339246 (30.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 95745 bytes 7459617 (7.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 88554 bytes 6281393 (6.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 88554 bytes 6281393 (6.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 50388 bytes 30368887 (30.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 95835 bytes 7466683 (7.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 88644 bytes 6287849 (6.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 88644 bytes 6287849 (6.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 50447 bytes 30398746 (30.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 95983 bytes 7478800 (7.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 88788 bytes 6298517 (6.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 88788 bytes 6298517 (6.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 50492 bytes 30427430 (30.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 96099 bytes 7488045 (7.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 88860 bytes 6303527 (6.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 88860 bytes 6303527 (6.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 50537 bytes 30456114 (30.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 96167 bytes 7493126 (7.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 88932 bytes 6308537 (6.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 88932 bytes 6308537 (6.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 50582 bytes 30484798 (30.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 96238 bytes 7498461 (7.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 89004 bytes 6313547 (6.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 89004 bytes 6313547 (6.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 50634 bytes 30514439 (30.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 96330 bytes 7505678 (7.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 89094 bytes 6320003 (6.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 89094 bytes 6320003 (6.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 50676 bytes 30543039 (30.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 96410 bytes 7511955 (7.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 89166 bytes 6325013 (6.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 89166 bytes 6325013 (6.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 50718 bytes 30571572 (30.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 96468 bytes 7516382 (7.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 89232 bytes 6329589 (6.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 89232 bytes 6329589 (6.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 50764 bytes 30600351 (30.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 96542 bytes 7521970 (7.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 89310 bytes 6335033 (6.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 89310 bytes 6335033 (6.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 50808 bytes 30629007 (30.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 96611 bytes 7527182 (7.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 89382 bytes 6340043 (6.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 89382 bytes 6340043 (6.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 50863 bytes 30658856 (30.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 96708 bytes 7534738 (7.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 89478 bytes 6346891 (6.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 89478 bytes 6346891 (6.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 50926 bytes 30689078 (30.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 96893 bytes 7549610 (7.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 89634 bytes 6358361 (6.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 89634 bytes 6358361 (6.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 50970 bytes 30717734 (30.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 97042 bytes 7561425 (7.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 89706 bytes 6363371 (6.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 89706 bytes 6363371 (6.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 51014 bytes 30746390 (30.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 97115 bytes 7566938 (7.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 89778 bytes 6368381 (6.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 89778 bytes 6368381 (6.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 51059 bytes 30775074 (30.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 97186 bytes 7572273 (7.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 89850 bytes 6373391 (6.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 89850 bytes 6373391 (6.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 51111 bytes 30804715 (30.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 97277 bytes 7579420 (7.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 89940 bytes 6379847 (6.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 89940 bytes 6379847 (6.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 51156 bytes 30833399 (30.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 97361 bytes 7585893 (7.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 90012 bytes 6384857 (6.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 90012 bytes 6384857 (6.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 51201 bytes 30862083 (30.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 97432 bytes 7591228 (7.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 90084 bytes 6389867 (6.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 90084 bytes 6389867 (6.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 51246 bytes 30890822 (30.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 97505 bytes 7596703 (7.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 90162 bytes 6395311 (6.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 90162 bytes 6395311 (6.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 51289 bytes 30919395 (30.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 97573 bytes 7601873 (7.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 90228 bytes 6399887 (6.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 90228 bytes 6399887 (6.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 51341 bytes 30949036 (30.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 97663 bytes 7608920 (7.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 90318 bytes 6406343 (6.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 90318 bytes 6406343 (6.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 51400 bytes 30978895 (30.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 97812 bytes 7621080 (7.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 90462 bytes 6417011 (6.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 90462 bytes 6417011 (6.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 51444 bytes 31007551 (31.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 97932 bytes 7630701 (7.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 90534 bytes 6422021 (6.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 90534 bytes 6422021 (6.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 51488 bytes 31036207 (31.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 98002 bytes 7635994 (7.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 90606 bytes 6427031 (6.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 90606 bytes 6427031 (6.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 51533 bytes 31064891 (31.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 98073 bytes 7641318 (7.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 90678 bytes 6432041 (6.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 90678 bytes 6432041 (6.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 51585 bytes 31094532 (31.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 98162 bytes 7648314 (7.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 90768 bytes 6438497 (6.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 90768 bytes 6438497 (6.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 51631 bytes 31123244 (31.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 98247 bytes 7654829 (7.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 90840 bytes 6443507 (6.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 90840 bytes 6443507 (6.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 51676 bytes 31151928 (31.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 98319 bytes 7660234 (7.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 90912 bytes 6448517 (6.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 90912 bytes 6448517 (6.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 51721 bytes 31180612 (31.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 98386 bytes 7665234 (7.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 90984 bytes 6453527 (6.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 90984 bytes 6453527 (6.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 51766 bytes 31209296 (31.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 98457 bytes 7670569 (7.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 91056 bytes 6458537 (6.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 91056 bytes 6458537 (6.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 51822 bytes 31239294 (31.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 98556 bytes 7678395 (7.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 91170 bytes 6466879 (6.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 91170 bytes 6466879 (6.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 51879 bytes 31268852 (31.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 98698 bytes 7689852 (7.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 91290 bytes 6475661 (6.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 91290 bytes 6475661 (6.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 51924 bytes 31297536 (31.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 98818 bytes 7699453 (7.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 91362 bytes 6480671 (6.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 91362 bytes 6480671 (6.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 51968 bytes 31326192 (31.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 98888 bytes 7704746 (7.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 91434 bytes 6485681 (6.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 91434 bytes 6485681 (6.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 52012 bytes 31354848 (31.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 98959 bytes 7710109 (7.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 91506 bytes 6490691 (6.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 91506 bytes 6490691 (6.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 52064 bytes 31384489 (31.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 99049 bytes 7717186 (7.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 91596 bytes 6497147 (6.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 91596 bytes 6497147 (6.4 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 52106 bytes 31413089 (31.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 99119 bytes 7722744 (7.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 91668 bytes 6502157 (6.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 91668 bytes 6502157 (6.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 52151 bytes 31441828 (31.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 99191 bytes 7728196 (7.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 91746 bytes 6507601 (6.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 91746 bytes 6507601 (6.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 52198 bytes 31470690 (31.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 99265 bytes 7733795 (7.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 91830 bytes 6513479 (6.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 91830 bytes 6513479 (6.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 52243 bytes 31499374 (31.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 99337 bytes 7739200 (7.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 91902 bytes 6518489 (6.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 91902 bytes 6518489 (6.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 52299 bytes 31529372 (31.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 99434 bytes 7746875 (7.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 92016 bytes 6526831 (6.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 92016 bytes 6526831 (6.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 52354 bytes 31558874 (31.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 99572 bytes 7758105 (7.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 92136 bytes 6535613 (6.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 92136 bytes 6535613 (6.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 52398 bytes 31587530 (31.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 99686 bytes 7767226 (7.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 92208 bytes 6540623 (6.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 92208 bytes 6540623 (6.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 52442 bytes 31616186 (31.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 99761 bytes 7772938 (7.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 92280 bytes 6545633 (6.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 92280 bytes 6545633 (6.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 52486 bytes 31644842 (31.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 99831 bytes 7778231 (7.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 92352 bytes 6550643 (6.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 92352 bytes 6550643 (6.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 52541 bytes 31674739 (31.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 99931 bytes 7786053 (7.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 92454 bytes 6557883 (6.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 92454 bytes 6557883 (6.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 52589 bytes 31703710 (31.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 100049 bytes 7795111 (7.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 92532 bytes 6563303 (6.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 92532 bytes 6563303 (6.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 52633 bytes 31732366 (31.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 100140 bytes 7802023 (7.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 92604 bytes 6568313 (6.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 92604 bytes 6568313 (6.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 52678 bytes 31761050 (31.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 100214 bytes 7807582 (7.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 92676 bytes 6573323 (6.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 92676 bytes 6573323 (6.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 52723 bytes 31789734 (31.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 100286 bytes 7812987 (7.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 92748 bytes 6578333 (6.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 92748 bytes 6578333 (6.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 52776 bytes 31819403 (31.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 100377 bytes 7820087 (7.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 92838 bytes 6584789 (6.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 92838 bytes 6584789 (6.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 52837 bytes 31849318 (31.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 100527 bytes 7832277 (7.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 92982 bytes 6595457 (6.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 92982 bytes 6595457 (6.5 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 52882 bytes 31878002 (31.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 100644 bytes 7841611 (7.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 93054 bytes 6600467 (6.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 93054 bytes 6600467 (6.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 52927 bytes 31906686 (31.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 100712 bytes 7846692 (7.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 93126 bytes 6605477 (6.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 93126 bytes 6605477 (6.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 52972 bytes 31935370 (31.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 100784 bytes 7852108 (7.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 93198 bytes 6610487 (6.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 93198 bytes 6610487 (6.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 53025 bytes 31965039 (31.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 100876 bytes 7859258 (7.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 93288 bytes 6616943 (6.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 93288 bytes 6616943 (6.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 53069 bytes 31993695 (31.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 100958 bytes 7865647 (7.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 93360 bytes 6621953 (6.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 93360 bytes 6621953 (6.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 53114 bytes 32022379 (32.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 101029 bytes 7870982 (7.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 93432 bytes 6626963 (6.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 93432 bytes 6626963 (6.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 53158 bytes 32051035 (32.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 101100 bytes 7876345 (7.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 93504 bytes 6631973 (6.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 93504 bytes 6631973 (6.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 53203 bytes 32079719 (32.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 101171 bytes 7881669 (7.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 93576 bytes 6636983 (6.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 93576 bytes 6636983 (6.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 53254 bytes 32109332 (32.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 101250 bytes 7887985 (7.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 93666 bytes 6643439 (6.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 93666 bytes 6643439 (6.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 53314 bytes 32139219 (32.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 101402 bytes 7900385 (7.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 93810 bytes 6654107 (6.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 93810 bytes 6654107 (6.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 53359 bytes 32167903 (32.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 101518 bytes 7909629 (7.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 93882 bytes 6659117 (6.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 93882 bytes 6659117 (6.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 53402 bytes 32196531 (32.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 101587 bytes 7914869 (7.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 93954 bytes 6664127 (6.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 93954 bytes 6664127 (6.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 53445 bytes 32225159 (32.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 101655 bytes 7920039 (7.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 94026 bytes 6669137 (6.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 94026 bytes 6669137 (6.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 53498 bytes 32254828 (32.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 101746 bytes 7927147 (7.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 94116 bytes 6675593 (6.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 94116 bytes 6675593 (6.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 53541 bytes 32283456 (32.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 101828 bytes 7933536 (7.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 94188 bytes 6680603 (6.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 94188 bytes 6680603 (6.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 53582 bytes 32311851 (32.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 101895 bytes 7938543 (7.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 94242 bytes 6684311 (6.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 94242 bytes 6684311 (6.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 53627 bytes 32340535 (32.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 101966 bytes 7943878 (7.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 94314 bytes 6689321 (6.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 94314 bytes 6689321 (6.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 53673 bytes 32369247 (32.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 102028 bytes 7948544 (7.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 94386 bytes 6694331 (6.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 94386 bytes 6694331 (6.6 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 53725 bytes 32398888 (32.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 102119 bytes 7955691 (7.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 94476 bytes 6700787 (6.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 94476 bytes 6700787 (6.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 53788 bytes 32428859 (32.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 102274 bytes 7968220 (7.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 94620 bytes 6711455 (6.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 94620 bytes 6711455 (6.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 53833 bytes 32457543 (32.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 102388 bytes 7977291 (7.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 94692 bytes 6716465 (6.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 94692 bytes 6716465 (6.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 53879 bytes 32486255 (32.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 102460 bytes 7982657 (7.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 94764 bytes 6721475 (6.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 94764 bytes 6721475 (6.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 53925 bytes 32514967 (32.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 102529 bytes 7987780 (7.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 94836 bytes 6726485 (6.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 94836 bytes 6726485 (6.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 53979 bytes 32544664 (32.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 102620 bytes 7994852 (7.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 94926 bytes 6732941 (6.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 94926 bytes 6732941 (6.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 54025 bytes 32573376 (32.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 102705 bytes 8001367 (8.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 94998 bytes 6737951 (6.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 94998 bytes 6737951 (6.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 54070 bytes 32602060 (32.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 102778 bytes 8006861 (8.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 95070 bytes 6742961 (6.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 95070 bytes 6742961 (6.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 54115 bytes 32630744 (32.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 102849 bytes 8012185 (8.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 95142 bytes 6747971 (6.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 95142 bytes 6747971 (6.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 54160 bytes 32659428 (32.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 102920 bytes 8017520 (8.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 95214 bytes 6752981 (6.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 95214 bytes 6752981 (6.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 54216 bytes 32689429 (32.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 103024 bytes 8025650 (8.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 95316 bytes 6760221 (6.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 95316 bytes 6760221 (6.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 54278 bytes 32719499 (32.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 103211 bytes 8040638 (8.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 95466 bytes 6771299 (6.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 95466 bytes 6771299 (6.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 54324 bytes 32748211 (32.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 103358 bytes 8052233 (8.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 95538 bytes 6776309 (6.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 95538 bytes 6776309 (6.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 54369 bytes 32776895 (32.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 103430 bytes 8057645 (8.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 95610 bytes 6781319 (6.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 95610 bytes 6781319 (6.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 54413 bytes 32805551 (32.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 103490 bytes 8062227 (8.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 95682 bytes 6786329 (6.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 95682 bytes 6786329 (6.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 54465 bytes 32835192 (32.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 103580 bytes 8069285 (8.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 95772 bytes 6792785 (6.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 95772 bytes 6792785 (6.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 54510 bytes 32863876 (32.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 103663 bytes 8075669 (8.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 95844 bytes 6797795 (6.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 95844 bytes 6797795 (6.7 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 54555 bytes 32892560 (32.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 103737 bytes 8081252 (8.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 95916 bytes 6802805 (6.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 95916 bytes 6802805 (6.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 54599 bytes 32921216 (32.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 103807 bytes 8086545 (8.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 95988 bytes 6807815 (6.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 95988 bytes 6807815 (6.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 54643 bytes 32949927 (32.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 103878 bytes 8091947 (8.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 96066 bytes 6813259 (6.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 96066 bytes 6813259 (6.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 54694 bytes 32979485 (32.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 103966 bytes 8098843 (8.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 96150 bytes 6819281 (6.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 96150 bytes 6819281 (6.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 54752 bytes 33009316 (33.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 104118 bytes 8111302 (8.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 96294 bytes 6829949 (6.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 96294 bytes 6829949 (6.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 54797 bytes 33038000 (33.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 104234 bytes 8120554 (8.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 96366 bytes 6834959 (6.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 96366 bytes 6834959 (6.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 54842 bytes 33066684 (33.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 104306 bytes 8125959 (8.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 96438 bytes 6839969 (6.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 96438 bytes 6839969 (6.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 54887 bytes 33095368 (33.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 104377 bytes 8131283 (8.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 96510 bytes 6844979 (6.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 96510 bytes 6844979 (6.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 54941 bytes 33125065 (33.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 104470 bytes 8138506 (8.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 96600 bytes 6851435 (6.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 96600 bytes 6851435 (6.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 54985 bytes 33153721 (33.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 104551 bytes 8144778 (8.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 96672 bytes 6856445 (6.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 96672 bytes 6856445 (6.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 55031 bytes 33182433 (33.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 104627 bytes 8150473 (8.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 96744 bytes 6861455 (6.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 96744 bytes 6861455 (6.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 55075 bytes 33211089 (33.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 104697 bytes 8155766 (8.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 96816 bytes 6866465 (6.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 96816 bytes 6866465 (6.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 55120 bytes 33239773 (33.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 104769 bytes 8161171 (8.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 96888 bytes 6871475 (6.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 96888 bytes 6871475 (6.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 55172 bytes 33269414 (33.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 104858 bytes 8168167 (8.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 96978 bytes 6877931 (6.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 96978 bytes 6877931 (6.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 55232 bytes 33299301 (33.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 105015 bytes 8180951 (8.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 97122 bytes 6888599 (6.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 97122 bytes 6888599 (6.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 55276 bytes 33327957 (33.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 105126 bytes 8189831 (8.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 97194 bytes 6893609 (6.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 97194 bytes 6893609 (6.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 55322 bytes 33356724 (33.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 105200 bytes 8195387 (8.1 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 97272 bytes 6899053 (6.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 97272 bytes 6899053 (6.8 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 55367 bytes 33385353 (33.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 105271 bytes 8200672 (8.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 97338 bytes 6903629 (6.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 97338 bytes 6903629 (6.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 55419 bytes 33414994 (33.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 105362 bytes 8207811 (8.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 97428 bytes 6910085 (6.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 97428 bytes 6910085 (6.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 55465 bytes 33443706 (33.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 105446 bytes 8214237 (8.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 97500 bytes 6915095 (6.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 97500 bytes 6915095 (6.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 55510 bytes 33472390 (33.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 105520 bytes 8219820 (8.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 97572 bytes 6920105 (6.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 97572 bytes 6920105 (6.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 55555 bytes 33501074 (33.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 105591 bytes 8225144 (8.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 97644 bytes 6925115 (6.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 97644 bytes 6925115 (6.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 55599 bytes 33529730 (33.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 105661 bytes 8230426 (8.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 97716 bytes 6930125 (6.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 97716 bytes 6930125 (6.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 55651 bytes 33559371 (33.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 105751 bytes 8237503 (8.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 97806 bytes 6936581 (6.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 97806 bytes 6936581 (6.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 55713 bytes 33589314 (33.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 105903 bytes 8249800 (8.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 97950 bytes 6947249 (6.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 97950 bytes 6947249 (6.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 55758 bytes 33617998 (33.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 106019 bytes 8259050 (8.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 98022 bytes 6952259 (6.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 98022 bytes 6952259 (6.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 55803 bytes 33646682 (33.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 106092 bytes 8264536 (8.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 98098 bytes 6957537 (6.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 98098 bytes 6957537 (6.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 55848 bytes 33675366 (33.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 106162 bytes 8269790 (8.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 98166 bytes 6962279 (6.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 98166 bytes 6962279 (6.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 55905 bytes 33705446 (33.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 106269 bytes 8278152 (8.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 98274 bytes 6969929 (6.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 98274 bytes 6969929 (6.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 55951 bytes 33734234 (33.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 106386 bytes 8287120 (8.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 98346 bytes 6974939 (6.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 98346 bytes 6974939 (6.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 55996 bytes 33762918 (33.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 106486 bytes 8294629 (8.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 98418 bytes 6979949 (6.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 98418 bytes 6979949 (6.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 56041 bytes 33791602 (33.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 106557 bytes 8299953 (8.2 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 98490 bytes 6984959 (6.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 98490 bytes 6984959 (6.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 56086 bytes 33820286 (33.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 106628 bytes 8305288 (8.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 98562 bytes 6989969 (6.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 98562 bytes 6989969 (6.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 56138 bytes 33849927 (33.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 106718 bytes 8312346 (8.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 98652 bytes 6996425 (6.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 98652 bytes 6996425 (6.9 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 56197 bytes 33879786 (33.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 106857 bytes 8323781 (8.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 98796 bytes 7007093 (7.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 98796 bytes 7007093 (7.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 56242 bytes 33908470 (33.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 106974 bytes 8333167 (8.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 98868 bytes 7012103 (7.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 98868 bytes 7012103 (7.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 56285 bytes 33937098 (33.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 107039 bytes 8338094 (8.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 98940 bytes 7017113 (7.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 98940 bytes 7017113 (7.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 56331 bytes 33965810 (33.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 107113 bytes 8343611 (8.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 99012 bytes 7022123 (7.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 99012 bytes 7022123 (7.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 56383 bytes 33995451 (33.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 107203 bytes 8350688 (8.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 99102 bytes 7028579 (7.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 99102 bytes 7028579 (7.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:a4:56:71:bc txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 56428 bytes 34024135 (34.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 107287 bytes 8357150 (8.3 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 99174 bytes 7033589 (7.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 99174 bytes 7033589 (7.0 MB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nrndis0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nusb0: flags=4099 mtu 1500\n ether ba:a7:69:f8:42:2b txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/nano/.log/2025/12/15/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/15122025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('192.168.8.100-172.17.0',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',))